mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-22 10:52:00 +02:00
Don't show a bunch of empty fields
This commit is contained in:
parent
bddc2b415b
commit
4ed0543f9e
@ -122,6 +122,8 @@
|
|||||||
$t->set_var('display_col',ucfirst($column));
|
$t->set_var('display_col',ucfirst($column));
|
||||||
}
|
}
|
||||||
$ref = $data = "";
|
$ref = $data = "";
|
||||||
|
if ($fields[0][$column])
|
||||||
|
{
|
||||||
$coldata = $fields[0][$column];
|
$coldata = $fields[0][$column];
|
||||||
// Some fields require special formatting.
|
// Some fields require special formatting.
|
||||||
if ( ($column == "note" || $column == "label" || $column == "pubkey") && $coldata )
|
if ( ($column == "note" || $column == "label" || $column == "pubkey") && $coldata )
|
||||||
@ -180,6 +182,7 @@
|
|||||||
}
|
}
|
||||||
$t->parse("cols","view_row",True);
|
$t->parse("cols","view_row",True);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$cat = CreateObject('phpgwapi.categories');
|
$cat = CreateObject('phpgwapi.categories');
|
||||||
$catinfo = $cat->return_single($fields[0]['cat_id']);
|
$catinfo = $cat->return_single($fields[0]['cat_id']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user