aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/pagehandler.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 10:46:20 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 10:46:20 +0000
commit6bb8ac44e5ba0b02e5ee43b5c62e1e42789e739b (patch)
treee2d77bf753057887602360875d846f07297de8b8 /engine/lib/pagehandler.php
parent3191a07d1e5fbd889886150d326101a38e3a3342 (diff)
downloadelgg-6bb8ac44e5ba0b02e5ee43b5c62e1e42789e739b.tar.gz
elgg-6bb8ac44e5ba0b02e5ee43b5c62e1e42789e739b.tar.bz2
Refs #249
git-svn-id: https://code.elgg.org/elgg/trunk@1930 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/pagehandler.php')
-rw-r--r--engine/lib/pagehandler.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/pagehandler.php b/engine/lib/pagehandler.php
index a2bee1bc5..b40726e5a 100644
--- a/engine/lib/pagehandler.php
+++ b/engine/lib/pagehandler.php
@@ -99,7 +99,9 @@
*/
function default_page_handler($page, $handler) {
- global $CONFIG;
+ global $CONFIG;
+ $script = "";
+
$page = implode('/',$page);
if (($questionmark = strripos($page, '?')))
$page = substr($page, 0, $questionmark);