From 044ed7c5be2dfdec17cb8eec311723183b488236 Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Sun, 22 Jul 2018 11:12:25 -0500 Subject: [PATCH] Fixed regression in e_core_pref::__construct() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit e_core_pref::load() does not behave in the way I expected it to… See: https://github.com/e107inc/e107/pull/3301 --- e107_handlers/pref_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/pref_class.php b/e107_handlers/pref_class.php index e219182a0..57549820a 100644 --- a/e107_handlers/pref_class.php +++ b/e107_handlers/pref_class.php @@ -845,7 +845,7 @@ final class e_core_pref extends e_pref parent::__construct($pref_id, $pref_alias); if($load && $pref_id) { - $this->load($pref_id, $load); + $this->load(); }