mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user