summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.php b/search.php
index 1781f59a..dce168ab 100644
--- a/search.php
+++ b/search.php
@@ -36,8 +36,8 @@ switch ($_REQUEST['action']) {
$_REQUEST['s_all'] = $_REQUEST['search_string'];
if (strlen($_REQUEST['search_string']) < 1) {
- $GLOBALS['error']->add_error('keyword',_("Error: No Keyword Entered"));
- show_template('show_search');
+ Error::add('keyword',_('Error: No Keyword Entered'));
+ require_once Config::get('prefix') . '/templates/show_search.inc.php';
break;
}
case 'search':