diff --git a/preferences/inc/class.preferences_categories_ui.inc.php b/preferences/inc/class.preferences_categories_ui.inc.php index 284dee857f..b8dc23a16d 100644 --- a/preferences/inc/class.preferences_categories_ui.inc.php +++ b/preferences/inc/class.preferences_categories_ui.inc.php @@ -37,4 +37,16 @@ class preferences_categories_ui extends admin_categories { $rows['edit_link'] = 'preferences.preferences_categories_ui.edit'; return $count; } + + /** + * Overriding index to set currentapp to be app whos categories we display + * + * @param array $content + */ + public function index(array $content=null) + { + $GLOBALS['egw_info']['flags']['currentapp'] = $_GET['cats_app']; + + parent::index($content); + } }