From 96f62506110af160ec3faf005f2bb00509045060 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 10 Feb 2005 01:09:06 +0000 Subject: [PATCH] fix for bug [ 1084324 ] Database error when try to search holidays --- calendar/inc/class.soholiday.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.soholiday.inc.php b/calendar/inc/class.soholiday.inc.php index 07e1ff4029..ac1b086c33 100755 --- a/calendar/inc/class.soholiday.inc.php +++ b/calendar/inc/class.soholiday.inc.php @@ -143,7 +143,7 @@ } if($query) { - $querymethod = " AND hol_name LIKE ".$this->db->quote('%'.$query.'%'); + $querymethod .= " AND hol_name LIKE ".$this->db->quote('%'.$query.'%'); } if ($year > 1900) {