summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 9e8b4d217..482c6fa6e 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -678,7 +678,7 @@ function arg($index) {
$arguments = explode('/', $_GET['q']);
}
- if ($arguments[$index] !== NULL) {
+ if (isset($arguments[$index])) {
return $arguments[$index];
}
}