From 36e6408f27e13224e30b961de32ce7a265d1fad1 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 18 Mar 2010 13:05:56 -0400 Subject: [PATCH] Oops, forgot to remove the existing start quote... --- ansel/lib/Storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/Storage.php b/ansel/lib/Storage.php index 4c791de56..a97dc6a95 100644 --- a/ansel/lib/Storage.php +++ b/ansel/lib/Storage.php @@ -1162,7 +1162,7 @@ class Ansel_Storage { $sql = 'SELECT DISTINCT image_location, image_latitude, image_longitude FROM ansel_images WHERE LENGTH(image_location) > 0'; if (strlen($search)) { - $sql .= ' AND image_location LIKE "' . $GLOBALS['ansel_db']->quote("$search%"); + $sql .= ' AND image_location LIKE ' . $GLOBALS['ansel_db']->quote("$search%"); } Horde::logMessage(sprintf("SQL QUERY BY Ansel_Storage::searchLocations: %s", $sql), 'DEBUG'); -- 2.11.0