mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-08 06:14:54 +02: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:
@@ -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