aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index c29686e6f..3a27882ba 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -53,7 +53,7 @@
$page['section'] = 'categories';
-if ( isset($_SERVER["PATH_INFO"]) )
+if ( isset($_SERVER["PATH_INFO"]) and !empty($_SERVER["PATH_INFO"]) )
{
$rewritten = $_SERVER["PATH_INFO"];
$rewritten = str_replace('//', '/', $rewritten);