aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/picture_modify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 97bff6e5e..779197f0c 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -164,7 +164,7 @@ if (isset($_POST['submit']) and count($page['errors']) == 0)
// time to deal with tags
$tag_ids = array();
- if (isset($_POST['tags']))
+ if (!empty($_POST['tags']))
{
$tag_ids = get_tag_ids($_POST['tags']);
}