From 890e106ec016766d7f75eebb42d5b2f7f200117a Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 25 Mar 2001 09:18:14 +0000 Subject: [PATCH] Set display of cat setting to 'none' if no cat --- addressbook/view.php | 1 + 1 file changed, 1 insertion(+) diff --git a/addressbook/view.php b/addressbook/view.php index d1613f8218..8f9cc65fd8 100755 --- a/addressbook/view.php +++ b/addressbook/view.php @@ -118,6 +118,7 @@ $cat->app_name = "phpgw"; $catinfo = $cat->return_single($cat_id); $catname .= $catinfo[0]["name"]; + if (!$catname) { $catname = lang('none'); } $columns_html .= ' ' . '' . lang("Record owner") . ''