forked from extern/egroupware
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));
|
||||
}
|
||||
$ref = $data = "";
|
||||
if ($fields[0][$column])
|
||||
{
|
||||
$coldata = $fields[0][$column];
|
||||
// Some fields require special formatting.
|
||||
if ( ($column == "note" || $column == "label" || $column == "pubkey") && $coldata )
|
||||
@ -180,6 +182,7 @@
|
||||
}
|
||||
$t->parse("cols","view_row",True);
|
||||
}
|
||||
}
|
||||
|
||||
$cat = CreateObject('phpgwapi.categories');
|
||||
$catinfo = $cat->return_single($fields[0]['cat_id']);
|
||||
|
Loading…
Reference in New Issue
Block a user