summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-21 20:34:07 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-21 20:34:07 -0400
commit392a75fa0e76530c176d78b4e17a2834286616e3 (patch)
tree49f7050a6b4a333e1d4eee74e7341418acdad0fd /index.php
parentd8fb954f00847ebdb2bea3d5b76cd2df1dc44a33 (diff)
Avoid php notice
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 7c5fe6d1..da11fd9f 100644
--- a/index.php
+++ b/index.php
@@ -2,6 +2,6 @@
require __DIR__.'/app/common.php';
-if (! $container['router']->dispatch($_SERVER['REQUEST_URI'], $_SERVER['QUERY_STRING'])) {
+if (! $container['router']->dispatch($_SERVER['REQUEST_URI'], isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '')) {
die('Page not found!');
}