mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Fixes #1373 - Broken SQL loop, due to emoticon pref lookup.
This commit is contained in:
@@ -475,9 +475,9 @@ class e_pref extends e_front_model
|
||||
return $this;
|
||||
}
|
||||
|
||||
if (e107::getDb()->db_Select('core', 'e107_value', "e107_name='{$id}'"))
|
||||
if (e107::getDb('pref')->select('core', 'e107_value', "e107_name='{$id}'"))
|
||||
{
|
||||
$row = e107::getDb()->db_Fetch();
|
||||
$row = e107::getDb()->fetch();
|
||||
|
||||
if($this->serial_bc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user