do not exit on null query
[phinde.git] / www / index.php
index 2598a4346a76b520329471f407c18631cc4eadd9..846d589fef148bb0aacc7c30bcae9ae79c550a85 100644 (file)
@@ -4,7 +4,7 @@ namespace phinde;
 require 'www-header.php';
 
 if (!isset($_GET['q'])) {
 require 'www-header.php';
 
 if (!isset($_GET['q'])) {
-    exit('no query');
+    $_GET['q'] = '';
 }
 
 $query = $_GET['q'];
 }
 
 $query = $_GET['q'];