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;
|
||||
|
||||
@@ -61,7 +61,7 @@ class Table extends \IPS\Helpers\Table\Db
|
||||
$this->className = $className;
|
||||
$this->currentType = $currentType;
|
||||
$this->include = array( 'follow_added', 'follow_app', 'follow_area', 'follow_rel_id', 'follow_notify_freq', 'follow_is_anon' );
|
||||
$this->classes[] = 'ipsData--zebra';
|
||||
$this->classes[] = 'ipsData--table ipsData--manageFollowedContent';
|
||||
|
||||
/* Allow to filter by digests only */
|
||||
$this->filters['digest'] = array( "follow_notify_freq IN('daily','weekly')" );
|
||||
|
||||
Reference in new issue
Block a user