From 446d1e927fcc5f2eb67d396b775c7b39d8274120 Mon Sep 17 00:00:00 2001 From: bettina Date: Tue, 3 Jul 2001 12:52:13 +0000 Subject: [PATCH] update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' --- phpgwapi/inc/class.categories.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php index a8a7a08bd5..ddf03dd5d9 100644 --- a/phpgwapi/inc/class.categories.inc.php +++ b/phpgwapi/inc/class.categories.inc.php @@ -430,9 +430,9 @@ { switch($item) { - case 'name': $value = 'cat_name'; - case 'owner': $value = 'cat_owner'; - case 'main': $value = 'cat_main'; + case 'name': $value = 'cat_name'; break; + case 'owner': $value = 'cat_owner'; break; + case 'main': $value = 'cat_main'; break; return $value; }