summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 53289fed5..53932807d 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -168,9 +168,9 @@ function referer_uri() {
}
function arg($index) {
- static $arguments;
+ static $arguments, $q;
- if (empty($arguments)) {
+ if (empty($arguments) || $q != $_GET["q"]) {
$arguments = explode("/", $_GET["q"]);
}