Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

+2 -2
View File
@@ -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] ) )
{