Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -123,7 +123,7 @@ class _announcement extends \IPS\Content\Controller
|
||||
/* Get groups that cannot view the item */
|
||||
$groups = $item->cannotViewGroups();
|
||||
|
||||
if( !\count( $groups ) )
|
||||
if( !$groups )
|
||||
{
|
||||
\IPS\Output::i()->json( array( 'status' => 'all_permissions' ) );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user