1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Issue #2146 PHP 7.3 class compatibility fix. More testing required.

This commit is contained in:
Cameron
2019-06-03 16:29:38 -07:00
parent ce7f3feb38
commit 62863b4934
9 changed files with 30 additions and 29 deletions

View File

@@ -482,8 +482,9 @@ class links_admin_ui extends e_admin_ui
{
if($this->getAction() != 'list')
{
$this->getTreeModel()->setParam('order', 'ORDER BY '.$this->listOrder)->load();
$this->getTreeModel()->setParam('order', 'ORDER BY '.$this->listOrder)->loadBatch();
}
/** @var e_tree_modell $tree */
$tree = $this->getTreeModel()->getTree();
$this->_link_array = array();
foreach ($tree as $id => $model)