From 1e0f13e0e83d326a87ac7e7d3360d7ed15773418 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 15 Apr 2001 22:35:44 +0000 Subject: [PATCH] Let admin handle enabled but hidden apps also --- admin/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/index.php b/admin/index.php index a6cc883cf8..57b041bae7 100755 --- a/admin/index.php +++ b/admin/index.php @@ -42,10 +42,10 @@ echo ''; } - // We only want to list applications that are enabled, plus the common stuff + // We only want to list applications that are enabled, even if hidden from navbar, plus the common stuff // (if they can get to the admin page, the admin app is enabled, hence it is shown) - $phpgw->db->query("select app_name from phpgw_applications where app_enabled = 1 order by app_title",__LINE__,__FILE__); + $phpgw->db->query("SELECT app_name FROM phpgw_applications WHERE app_enabled=1 OR app_enabled=2 ORDER BY app_title",__LINE__,__FILE__); // Stuff it in an array in the off chance the admin includes need the db while ($phpgw->db->next_record()) @@ -77,4 +77,4 @@ echo '

' . lang('PHP Information') . ''; } $phpgw->common->phpgw_footer(); -?> \ No newline at end of file +?>