mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
Bug 1763 fixed : [PostgreSQL] double quote used in queries
Merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6665 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -37,8 +37,8 @@ if (isset($_POST['editarea']) and in_array($_POST['editarea'], $possible_values)
|
||||
}
|
||||
$query = '
|
||||
UPDATE ' . CONFIG_TABLE . '
|
||||
SET value = "' . $_POST['editarea'] . '"
|
||||
WHERE param="LocalFilesEditor"
|
||||
SET value = \'' . $_POST['editarea'] . '\'
|
||||
WHERE param=\'LocalFilesEditor\'
|
||||
LIMIT 1';
|
||||
pwg_query($query);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user