mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
Issue #1373 - Reverted previous fix and used a different approach.
This commit is contained in:
@@ -475,7 +475,7 @@ class e_pref extends e_front_model
|
||||
return $this;
|
||||
}
|
||||
|
||||
if (e107::getDb('pref')->select('core', 'e107_value', "e107_name='{$id}'"))
|
||||
if (e107::getDb()->select('core', 'e107_value', "e107_name='{$id}'"))
|
||||
{
|
||||
$row = e107::getDb()->fetch();
|
||||
|
||||
|
Reference in New Issue
Block a user