From 37f691c54aa517a3e5fecb5d89bee3ee2137215c Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 8 Apr 2010 08:23:44 +0000 Subject: [PATCH] * when update the company field, ommit the config table. --- module/upgrade/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/upgrade/control.php b/module/upgrade/control.php index 7ecda02a88..eff592b812 100644 --- a/module/upgrade/control.php +++ b/module/upgrade/control.php @@ -82,7 +82,7 @@ class upgrade extends control foreach($userConstants as $key => $value) { if(strpos($key, 'TABLE') === false) continue; - if($key == 'TABLE_COMPANY') continue; + if($key == 'TABLE_COMPANY' or $key == 'TABLE_CONFIG') continue; $this->dao->update($value)->set('company')->eq($this->app->company->id)->exec(); } }