aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_permalinks.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/functions_permalinks.php')
-rw-r--r--admin/include/functions_permalinks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/include/functions_permalinks.php b/admin/include/functions_permalinks.php
index f619e3b08..94c13be31 100644
--- a/admin/include/functions_permalinks.php
+++ b/admin/include/functions_permalinks.php
@@ -192,8 +192,8 @@ DELETE FROM '.OLD_PERMALINKS_TABLE.'
$query = '
UPDATE '.CATEGORIES_TABLE.'
SET permalink="'.$permalink.'"
- WHERE id='.$cat_id.'
- LIMIT 1';
+ WHERE id='.$cat_id;
+ // LIMIT 1';
pwg_query($query);
unset( $cache['cat_names'] ); //force regeneration