* revert, the version config's company field should be zero.

This commit is contained in:
wangchunsheng
2010-02-20 14:22:09 +00:00
parent 6b9ed81ac0
commit 7cef9a2ae3
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class settingModel extends model
public function getItem($owner, $section, $key)
{
return $this->dao->select('`value`')->from(TABLE_CONFIG)
->where('company')->eq($this->app->company->id)
->where('company')->eq(0)
->andWhere('owner')->eq($owner)
->andWhere('section')->eq($section)
->andWhere('`key`')->eq($key)