From 44821eeece4831aaac5e747a692518b7ef8f5f59 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Wed, 9 Dec 2009 17:55:00 +0000 Subject: [PATCH] quits immediately the query parsing routine if displaying a static page (fixes 404 error on trying to browse statics with an empty blog) --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index d515646..cd07038 100644 --- a/index.php +++ b/index.php @@ -155,6 +155,7 @@ ) { index_staticpage($page, $explicit_req, $params, $module); + return $module; } elseif (!empty($_GET['q'])) { include('search.php');