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
This commit is contained in:
parent
dd8fc0457f
commit
a387525c08
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue