aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/picture_modify.php')
-rw-r--r--admin/picture_modify.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 291d41bd0..664503281 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -141,7 +141,7 @@ DELETE FROM '.IMAGE_CATEGORY_TABLE.'
AND category_id IN ('.implode(',', $_POST['cat_associated']).')
';
pwg_query($query);
-
+
update_category($_POST['cat_associated']);
}
// elect the element to represent the given categories
@@ -223,7 +223,7 @@ else
l10n('No tag defined. Use Administration>Pictures>Tags').
'</p>';
}
-
+
$template->assign_vars(
array(
'U_SYNC' =>
@@ -234,7 +234,7 @@ $template->assign_vars(
'PATH'=>$row['path'],
- 'TN_SRC' => get_thumbnail_src($row['path'], @$row['tn_ext']),
+ 'TN_SRC' => get_thumbnail_url($row),
'NAME' =>
isset($_POST['name']) ?