This commit is contained in:
tianshujie
2022-09-09 16:10:34 +08:00
parent 03f858361d
commit b5630098eb
+2 -2
View File
@@ -1014,13 +1014,13 @@ class bugModel extends model
*
* @param int $bugID
* @access public
* @return string
* @return array
*/
public function assign($bugID)
{
$now = helper::now();
$oldBug = $this->getById($bugID);
if($oldBug->status == 'closed') return false;
if($oldBug->status == 'closed') return array();
$bug = fixer::input('post')
->add('id', $bugID)