Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -107,11 +107,9 @@ class Table extends TableHelper
|
||||
$it = Db::i()->select( '*', 'core_content_promote', $where, $sortBy, array( ( $this->limit * ( $this->page - 1 ) ), $this->limit ) );
|
||||
$rows = iterator_to_array( $it );
|
||||
|
||||
if ( ! count( $rows ) )
|
||||
{
|
||||
static::$rows = [];
|
||||
}
|
||||
else
|
||||
static::$rows = [];
|
||||
|
||||
if ( count( $rows ) )
|
||||
{
|
||||
foreach ( $rows as $index => $row )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user