Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -264,7 +264,7 @@ class _Page extends \IPS\Patterns\ActiveRecord
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if ( \in_array( 'nonmember', $this->can_view ) AND $this->club->memberStatus( $member ) === NULL )
|
||||
if ( \in_array( 'nonmember', $this->can_view ) )
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
@@ -323,7 +323,7 @@ class _Page extends \IPS\Patterns\ActiveRecord
|
||||
if( $updateClub === TRUE )
|
||||
{
|
||||
$tabs = @json_decode( $this->club->menu_tabs, TRUE );
|
||||
if ( \count( $tabs ) )
|
||||
if ( is_countable( $tabs ) AND \count( $tabs ) )
|
||||
{
|
||||
if ( isset( $tabs['page-' . $this->id] ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user