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:
parent
24e202fab0
commit
a1b66d8a33
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue