Avoid php notice

This commit is contained in:
Frederic Guillot 2015-07-21 20:34:07 -04:00
parent d8fb954f00
commit 392a75fa0e
1 changed files with 1 additions and 1 deletions

View File

@ -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!');
}