From f722ca719e31cbbcb5a1593e59b6c1b200e26105 Mon Sep 17 00:00:00 2001 From: Jeremy Newman Date: Wed, 24 Mar 2004 18:56:12 +0000 Subject: [PATCH] fix search form so it works from any path spotted by Ivan Leo Murray-Smith --- include/sidebar.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/sidebar.php b/include/sidebar.php index 28713cc..728ff49 100644 --- a/include/sidebar.php +++ b/include/sidebar.php @@ -31,7 +31,8 @@ function global_sidebar_menu() { function app_search_box($q = '') { - $str .= "
\n"; + global $apidb_root; + $str .= ''."\n"; $str .= ""; $str .= "\n"; $str .= "
\n";