aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-03-30 21:22:47 +0000
committerplegall <plg@piwigo.org>2011-03-30 21:22:47 +0000
commita387525c08ed71b567e4e2aa02e3d40d82963603 (patch)
tree360d160c7db916d43ed2579bf13dfd89968febfa
parentdd8fc0457ff4020105a86892731a82b206316d82 (diff)
bug fixed: makes really sure there is a defined category id before redirection on photo deletion
git-svn-id: http://piwigo.org/svn/trunk@9943 68402e56-0260-453c-a942-63ccdbb3a9ee
-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(