mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
bug:2855
bug corrected (if that was a virtual album created without parent) git-svn-id: http://piwigo.org/svn/trunk@23886 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
24e202fab0
commit
a1b66d8a33
1 file changed
+1
-1
@@ -1303,7 +1303,7 @@ SELECT id, uppercats, global_rank, visible, status
|
||||
|
||||
update_global_rank();
|
||||
|
||||
if ('private' == $insert['status'] and ((isset($options['inherit']) and $options['inherit']) or $conf['inheritance_by_default']) )
|
||||
if ('private' == $insert['status'] and !empty($insert['id_uppercat']) and ((isset($options['inherit']) and $options['inherit']) or $conf['inheritance_by_default']) )
|
||||
{
|
||||
$query = '
|
||||
SELECT group_id
|
||||
|
||||
Reference in new issue
Block a user