diff options
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index 881a87e5b..d77b2cb81 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -948,7 +948,7 @@ SELECT DISTINCT(storage_category_id) { $query = ' UPDATE '.IMAGES_TABLE.' - SET path = CONCAT(\''.$fulldirs[$cat_id].'\',\'/\',file) + SET path = '.pwg_db_concat(array($fulldirs[$cat_id],'\'/\'','file')).' WHERE storage_category_id = '.$cat_id.' ;'; pwg_query($query); |