From 39415a89dd04f22842bc4c7d1957e16e717da08b Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Thu, 19 May 2005 16:36:01 +0000 Subject: [PATCH] backport Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-14 forgotten } git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-647 --- include/search/classes.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/search/classes.inc.php b/include/search/classes.inc.php index 1684a7d..80325fd 100644 --- a/include/search/classes.inc.php +++ b/include/search/classes.inc.php @@ -404,7 +404,7 @@ class RefSField extends SField function compare() { $val = addslashes($this->value); - return $this->exact ? "='$val}'" : " LIKE '%$val%'"; + return $this->exact ? "='$val'" : " LIKE '%$val%'"; } // }}} -- 2.1.4