From 29d21264d61877d1e1427cedde97ff20d766e9d5 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Thu, 11 Mar 2010 09:14:42 +0000 Subject: [PATCH] better patch --- include/functions_entries.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index 6186ba98..01d6d872 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -864,7 +864,7 @@ function &serendipity_searchEntries($term, $limit = '', $searchresults = '') { //if * wasn't already appended and if there are none or not enough //results, search again for entries containing the searchterm as a part - if (strpos($term, '*') === false && strpos($term, '%') === false) { + if (strpos($term, '*') === false && $serendipity['dbType'] != 'sqlite' && $serendipity['dbType'] != 'sqlite3') { if (! is_array($search)) { return serendipity_searchEntries($term.'*', $orig_limit); }else if (count($search) < 4){