From ecf0f14884083c695913b4888fc8ebaa2a10dfd1 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 10 May 2007 17:25:25 +0000 Subject: [PATCH] Array to string conversion, this is probably a typo --- db_search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_search.php b/db_search.php index 8b866e580..53d8622c0 100644 --- a/db_search.php +++ b/db_search.php @@ -181,7 +181,7 @@ if (isset($_REQUEST['submit_search'])) { // Eliminates empty values // In MySQL 4.1, if a field has no collation we get NULL in Charset // but in MySQL 5.0.x we get '' - if (strlen($search_words) === 0) { + if (strlen($search_word) === 0) { continue; }