sql_quote is silly...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@30 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
f12e0b8f60
commit
8ae4d58fd1
@ -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("
|
||||
|
Loading…
x
Reference in New Issue
Block a user