From 392a75fa0e76530c176d78b4e17a2834286616e3 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 21 Jul 2015 20:34:07 -0400 Subject: Avoid php notice --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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!'); } -- cgit v1.2.3