aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-10-12 22:00:25 +0200
committerKevin Chabowski <kevin@kch42.de>2011-10-12 22:00:25 +0200
commite5c58463607da69ccfee3bc658dde4744bdd4040 (patch)
treef65fcd819ffb417c7107bbad835c8873e68cecba
parent74cf8718cd1a09ac159e933c898ede1a9d474679 (diff)
downloadratatoeskr-cms-e5c58463607da69ccfee3bc658dde4744bdd4040.tar.gz
ratatoeskr-cms-e5c58463607da69ccfee3bc658dde4744bdd4040.tar.bz2
ratatoeskr-cms-e5c58463607da69ccfee3bc658dde4744bdd4040.zip
Fixed urlprocess.php
I do not remember what the reason was. I should commit changes more often.... :-P
-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");