From c4c661cfac446333a5480b0c28e625bdad4752fd Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 12 Mar 2019 11:16:43 -0700 Subject: [PATCH] Fixes #3715 Prevent error when load() is missing from e_admin.php --- e107_handlers/admin_ui.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index bc4582527..09a6d2795 100755 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -6634,7 +6634,9 @@ class e_admin_form_ui extends e_form { $ids = implode(",", array_keys($var)); - $value = (array) $obj->load($event, $ids); + $value = (array) e107::callMethod($obj,'load', $event,$ids); + + // $value = (array) $obj->load($event, $ids); foreach($var as $id=>$model) {