fix #626
This commit is contained in:
@@ -28,7 +28,7 @@ class Widget_Init extends Typecho_Widget
|
||||
|
||||
/** 检查安装状态 */
|
||||
if (!$options->installed) {
|
||||
$this->update(array('value' => 1), $this->db->sql()->where('name = ?', 'installed'));
|
||||
$options->update(array('value' => 1), Typecho_Db::get()->sql()->where('name = ?', 'installed'));
|
||||
}
|
||||
|
||||
/** 语言包初始化 */
|
||||
|
||||
Reference in New Issue
Block a user