aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/configuration.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 8488aa489..8f051ba2c 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -35,6 +35,9 @@ include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
check_status(ACCESS_ADMINISTRATOR);
//-------------------------------------------------------- sections definitions
+
+check_input_parameter('section', $_GET, false, '/^[a-z]+$/i');
+
if (!isset($_GET['section']))
{
$page['section'] = 'main';