An issue has been found today. A guest can use the attributes selector when a topic author account has been deleted.
Please apply the fix below.
Code: Select all
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions_attributes.php
#
#-----[ FIND ]------------------------------------------------
#
# This may be a partial find and not the whole line(s)
#
if ( is_array($group_ids) && array_intersect($group_ids, $user_groups) || ($attr_auth['author'] && ($author_id == $user->data['user_id'])) )
#
#-----[ REPLACE WITH ]----------------------------------------
#
if ( is_array($group_ids) && array_intersect($group_ids, $user_groups) || ($attr_auth['author'] && ($author_id == $user->data['user_id']) && ($user->data['user_id'] != ANONYMOUS)) )
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM