diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php
index e88c70ae76..1fb108d215 100644
--- a/phpgwapi/inc/class.categories.inc.php
+++ b/phpgwapi/inc/class.categories.inc.php
@@ -424,7 +424,7 @@
}
if ($cats[$i]['owner'] == '-1')
{
- $s .= '<' . lang('Global') . ' ' . $GLOBALS['phpgw_info']['apps'][$this->app_name]['title'] . '>';
+ $s .= '<' . lang('Global') . ' ' . lang($this->app_name) . '>';
}
$s .= '' . "\n";
@@ -446,12 +446,12 @@
if (in_array($cats[$i]['id'],$selected))
{
- $image_set = '';
+ $image_set = '';
}
if (($cats[$i]['level'] == 0) && !in_array($cats[$i]['id'],$selected))
{
- $image_set = '';
+ $image_set = '';
}
$space_set = str_repeat($space,$cats[$i]['level']);