From: Christian Weiske Date: Thu, 4 Feb 2016 22:58:00 +0000 (+0100) Subject: do not exit on null query X-Git-Tag: v0.1.0~14 X-Git-Url: https://git.cweiske.de/phinde.git/commitdiff_plain/11b8b5380612b541242b34ed94863a652e9576cf do not exit on null query --- diff --git a/www/index.php b/www/index.php index 2598a43..846d589 100644 --- a/www/index.php +++ b/www/index.php @@ -4,7 +4,7 @@ namespace phinde; require 'www-header.php'; if (!isset($_GET['q'])) { - exit('no query'); + $_GET['q'] = ''; } $query = $_GET['q'];