mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
Bug 1733 fixed : single quotes in queries
git-svn-id: http://piwigo.org/svn/trunk@6550 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ $thumbnalized = array();
|
||||
// what is the directory to search in ?
|
||||
$query = '
|
||||
SELECT galleries_url FROM '.SITES_TABLE.'
|
||||
WHERE galleries_url NOT LIKE "http://%"
|
||||
WHERE galleries_url NOT LIKE \'http://%\'
|
||||
;';
|
||||
$result = pwg_query($query);
|
||||
while ( $row=pwg_db_fetch_assoc($result) )
|
||||
|
||||
Reference in New Issue
Block a user