From f15242558e2f2832b713dffd7957323c3549d8db Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 15 Aug 2010 14:32:41 -0500 Subject: [PATCH] Added default category in admin settings --- main/admin/settings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/admin/settings.php b/main/admin/settings.php index 638a913248..d40a9866d9 100755 --- a/main/admin/settings.php +++ b/main/admin/settings.php @@ -86,6 +86,9 @@ $interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAd // setting the name of the tool $tool_name = get_lang('DokeosConfigSettings'); +if(empty($_GET['category'])) { + $_GET['category'] = 'Platform'; +} // Build the form if (!empty($_GET['category']) && !in_array($_GET['category'], array('Plugins', 'stylesheets', 'Search'))) {