aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5c1d1186b..333bf3e88 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -52,7 +52,7 @@ if (isset($_GET['delete']))
// 2. else use the first reachable linked category
// 3. redirect to gallery root
- if (isset($_GET['cat_id']))
+ if (isset($_GET['cat_id']) and !empty($_GET['cat_id']))
{
redirect(
make_index_url(