mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user