1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-19 11:59:55 +01: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 89e28e38c5
commit 9d1bb3f7c3
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

View File

@ -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();
}