diff options
author | nikrou <nikrou@piwigo.org> | 2010-06-17 18:11:11 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-06-17 18:11:11 +0000 |
commit | dbe75d113b43cae453ac5d3331157927fedd6ae7 (patch) | |
tree | 32f261b5fda06b6ac6ccb9cc8a23c706742aa36b /admin/permalinks.php | |
parent | 5baa3409e5d3bedcdce35da97c89bd577561165c (diff) |
Bug 1733 fixed : merge from trunk
single quotes in queries
git-svn-id: http://piwigo.org/svn/branches/2.1@6551 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/permalinks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/permalinks.php b/admin/permalinks.php index 7d847d3c6..7ec83efc2 100644 --- a/admin/permalinks.php +++ b/admin/permalinks.php @@ -96,7 +96,7 @@ elseif ( isset($_GET['delete_permanent']) and !is_adviser() ) { $query = ' DELETE FROM '.OLD_PERMALINKS_TABLE.' - WHERE permalink="'.$_GET['delete_permanent'].'" + WHERE permalink=\''.$_GET['delete_permanent'].'\' LIMIT 1'; $result = pwg_query($query); if (pwg_db_changes($result)==0) |