mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:39:07 +01:00
Fixed notes field not showing up in view
This commit is contained in:
parent
ea1be66ba2
commit
d71247ebe6
@ -31,7 +31,7 @@
|
||||
} else if (! $submit && ! $add_email) {
|
||||
form("","add.php","Add","","","");
|
||||
} else {
|
||||
if ($bday_month == "" && $bday_day == "" && $bday_year == "") {
|
||||
if (! $bday_month && ! $bday_day && ! $bday_year) {
|
||||
$bday = "";
|
||||
} else {
|
||||
$bday = "$bday_month/$bday_day/$bday_year";
|
||||
|
@ -59,7 +59,12 @@
|
||||
form("","edit.php","Edit",$fields);
|
||||
|
||||
} else {
|
||||
$bday = $bday_month . "/" . $bday_day . "/" . $bday_year;
|
||||
if (! $bday_month && ! $bday_day && ! $bday_year) {
|
||||
$bday = "";
|
||||
} else {
|
||||
$bday = "$bday_month/$bday_day/$bday_year";
|
||||
}
|
||||
|
||||
if ($access != "private" && $access != "public") {
|
||||
$access = $phpgw->accounts->array_to_string($access,$n_groups);
|
||||
}
|
||||
|
@ -47,6 +47,11 @@
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
if ($phpgw->db->f("ab_notes")) {
|
||||
$columns_to_display[$i]["field_name"] = "Notes";
|
||||
$columns_to_display[$i]["field_value"] = $phpgw->db->f("ab_notes");
|
||||
}
|
||||
|
||||
echo '<table border="0" cellspacing="2" cellpadding="2" width="80%" align="center">';
|
||||
for ($i=0;$i<200;) { // The $i<200 is only used for a brake
|
||||
|
Loading…
Reference in New Issue
Block a user