From 8ae4d58fd19eca3ded29a1c334f9eadd9a0e4824 Mon Sep 17 00:00:00 2001 From: shish Date: Sat, 28 Apr 2007 19:02:54 +0000 Subject: [PATCH] sql_quote is silly... git-svn-id: file:///home/shish/svn/shimmie2/trunk@30 7f39781d-f577-437e-ae19-be835c7a54ca --- core/database.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/database.class.php b/core/database.class.php index aa8a6948..87d753fe 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -124,7 +124,7 @@ class Database { $query = new Querylet("SELECT * FROM images "); } else { - $s_tag_array = array_map("sql_quote", $tag_search->variables); + $s_tag_array = array_map("sql_escape", $tag_search->variables); $s_tag_list = join(', ', $s_tag_array); $subquery = new Querylet("