* [bug#65203,done,0.2h] fix bug.
This commit is contained in:
@@ -523,6 +523,8 @@ class searchModel extends model
|
||||
->remove('onMenuBar')
|
||||
->get();
|
||||
if($this->post->onMenuBar) $query->shortcut = '1';
|
||||
if(in_array($query->module, array('epic', 'requirement'))) $query->module = 'story'; // 用需业需保存为story
|
||||
|
||||
$this->dao->insert(TABLE_USERQUERY)->data($query)->autoCheck()->check('title', 'notempty')->exec();
|
||||
|
||||
if(dao::isError()) return false;
|
||||
|
||||
Reference in New Issue
Block a user