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:
plegall 2011-03-30 21:22:47 +00:00
parent dd8fc0457f
commit a387525c08

View file

@ -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(