diff options
Diffstat (limited to 'admin/permalinks.php')
-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) |