Aborting commit due to empty commit message

This commit is contained in:
wangxiaomeng
2022-04-14 13:21:41 +08:00
parent d2fd124cb9
commit dee641a3b6
+4
View File
@@ -674,6 +674,10 @@ class bugModel extends model
return false;
}
if(empty($_POST['assignedTo']) and $oldBug->status == 'closed'){
$_POST['assignedTo'] = 'closed';
}
$now = helper::now();
$bug = fixer::input('post')
->cleanInt('product,module,severity,project,execution,story,task,branch')