From 1581a50889be9fe28e9d4f5d11c4f726a5215946 Mon Sep 17 00:00:00 2001 From: Paul van Schayck Date: Sat, 25 Dec 2004 20:14:03 +0000 Subject: [PATCH] Check on $_REQUEST['q'] --- include/sidebar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sidebar.php b/include/sidebar.php index 527ee06..a830b58 100644 --- a/include/sidebar.php +++ b/include/sidebar.php @@ -20,7 +20,7 @@ function global_sidebar_menu() { $g->done(); $g = new htmlmenu("Search"); - $g->addmisc(app_search_box($_REQUEST['q'])); + $g->addmisc(app_search_box(isset($_REQUEST['q']) ? $_REQUEST['q'] : '')); $g->done(); }