aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/urlprocess.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/sys/urlprocess.php')
-rw-r--r--ratatoeskr/sys/urlprocess.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ratatoeskr/sys/urlprocess.php b/ratatoeskr/sys/urlprocess.php
index 5c5b17b..14d67c1 100644
--- a/ratatoeskr/sys/urlprocess.php
+++ b/ratatoeskr/sys/urlprocess.php
@@ -98,6 +98,7 @@ function url_process($url, $actions, &$data)
$epilog_running = 0;
if(is_string($url))
$url = explode("/", $url);
+ $url = array_filter($url, function($x) { return !empty($x); });
if(count($url) == 0)
$url = array("_index");