Version 5.0.0 beta 11.1
This commit is contained in:
1 parent
264eeb97e0
commit
90e8c7e903
466 files changed
+7796
-2394
No files matched your search
@@ -490,7 +490,11 @@ class Feature extends ActiveRecord
|
||||
|
||||
foreach( Db::i()->select( '*', static::$databaseTable, array( 'promote_hide=0' ), $sortField . ' ' . $sortDirection, $limit ) as $row )
|
||||
{
|
||||
$items[ $row['promote_id'] ] = static::constructFromData( $row );
|
||||
try
|
||||
{
|
||||
$items[ $row['promote_id'] ] = static::constructFromData( $row );
|
||||
}
|
||||
catch( OutOfRangeException ){}
|
||||
}
|
||||
|
||||
static::$internalStream[ $_key ] = $items;
|
||||
|
||||
Reference in new issue
Block a user