diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index f36363ac2..62aa277a9 100755 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -5468,7 +5468,7 @@ class e_admin_ui extends e_admin_controller_ui if(empty($string)) { - return null; + return null; } return $selected. " LIKE '%".e107::getParser()->toDB($string)."%' "; // array($selected, $this->getQuery('searchquery')); diff --git a/e107_plugins/featurebox/includes/tree.php b/e107_plugins/featurebox/includes/tree.php index a4930149a..22aa3c3ed 100644 --- a/e107_plugins/featurebox/includes/tree.php +++ b/e107_plugins/featurebox/includes/tree.php @@ -45,7 +45,7 @@ class plugin_featurebox_tree extends e_tree_model $qry = 'SELECT SQL_CALC_FOUND_ROWS * FROM #featurebox WHERE fb_category='.intval($category_id).' AND fb_class IN('.USERCLASS_LIST.')'.$where.$order.$limit; $this->setParam('db_query', $qry); - parent::load($force); + parent::loadBatch($force); return $this; }