Version 5.0.0 beta 9

This commit is contained in:
Neo committed 2025-12-19 17:47:00 -08:00
1 parent 214f649f1d
commit 56979f8ee8
202 files changed
+4403 -1123

No files matched your search

+4 -4
View File
@@ -231,7 +231,7 @@ trait Hideable
/* Restoring as hidden? */
if ( $hidden )
{
$column = static::$databaseColumnMap['hidden'] ?? static::$databaseColumnId['approved'];
$column = static::$databaseColumnMap['hidden'] ?? static::$databaseColumnMap['approved'];
$this->$column = -1;
}
else
@@ -461,7 +461,7 @@ trait Hideable
{
try
{
$item->clearCachedStatistics();
$item->clearCachedStatistics( TRUE );
}
catch ( Exception )
{
@@ -1354,7 +1354,7 @@ trait Hideable
return false;
}
if ( $this->hidden() === -1 )
if ( $this->hidden() <> 0 )
{
return FALSE;
}
@@ -1381,7 +1381,7 @@ trait Hideable
return false;
}
if ( !$this->hidden() )
if ( $this->hidden() === 0 )
{
return FALSE;
}