1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Fixed regression in e_core_pref::__construct()

e_core_pref::load() does not behave in the way I expected it to…

See: https://github.com/e107inc/e107/pull/3301
This commit is contained in:
Nick Liu
2018-07-22 11:12:25 -05:00
parent 3d206306fe
commit 044ed7c5be

View File

@@ -845,7 +845,7 @@ final class e_core_pref extends e_pref
parent::__construct($pref_id, $pref_alias); parent::__construct($pref_id, $pref_alias);
if($load && $pref_id) if($load && $pref_id)
{ {
$this->load($pref_id, $load); $this->load();
} }