* fix a bug for keep login.

This commit is contained in:
wangyidong
2012-12-02 07:54:23 +00:00
parent f58b5362bd
commit 3525f166bb
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class settingModel extends model
*/
public function getSysAndPersonalConfig($account = '')
{
$owner = 'system,' . ($account ? $account : $this->app->user->account);
$owner = 'system,' . ($account ? $account : '');
$records = $this->dao->select('*')
->from(TABLE_CONFIG)
->where('owner')->in($owner)