mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Bug 1763 fixed : [PostgreSQL] double quote used in queries
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -406,7 +406,7 @@ function get_cat_id_from_permalinks( $permalinks, &$idx )
|
||||
foreach($permalinks as $permalink)
|
||||
{
|
||||
if ( !empty($in) ) $in.=', ';
|
||||
$in .= '"'.$permalink.'"';
|
||||
$in .= '\''.$permalink.'\'';
|
||||
}
|
||||
$query ='
|
||||
SELECT cat_id AS id, permalink, 1 AS is_old
|
||||
|
||||
Reference in New Issue
Block a user