1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +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

@@ -2668,7 +2668,7 @@ class e_user_extended_structure_tree extends e_tree_model
*/
public function __construct()
{
$this->load();
$this->loadBatch();
}
/**
@@ -2738,12 +2738,12 @@ class e_user_extended_structure_tree extends e_tree_model
*
* @param boolean $force
*/
public function load($force = false)
public function loadBatch($force = false)
{
$this->setParam('nocount', true)
->setParam('model_class', 'e_user_extended_structure_model')
->setParam('db_order', 'user_extended_struct_order ASC');
parent::load($force);
parent::loadBatch($force);
return $this;
}