* Code for upgrade.
This commit is contained in:
@@ -183,7 +183,7 @@ class settingModel extends model
|
||||
$owner = 'system,' . ($account ? $account : '');
|
||||
$records = $this->dao->select('*')->from(TABLE_CONFIG)
|
||||
->where('owner')->in($owner)
|
||||
->andWhere('vision')->in(array('', $this->config->vision))
|
||||
->beginIF(!defined('IN_UPGRADE'))->andWhere('vision')->in(array('', $this->config->vision))->fi()
|
||||
->orderBy('id')
|
||||
->fetchAll('id');
|
||||
if(!$records) return array();
|
||||
|
||||
Reference in New Issue
Block a user