projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d654e
)
Oops, forgot to remove the existing start quote...
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 18 Mar 2010 17:05:56 +0000
(13:05 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 18 Mar 2010 17:05:56 +0000
(13:05 -0400)
ansel/lib/Storage.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Storage.php
b/ansel/lib/Storage.php
index
4c791de
..
a97dc6a
100644
(file)
--- 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');