Merge branch 'cyy_mr' into 'master'
* Modify mr review log. See merge request easycorp/zentaopms!4602
This commit is contained in:
+1
-1
@@ -1201,7 +1201,7 @@ class mrModel extends model
|
||||
public function approve($MR, $action = 'approve', $comment = '')
|
||||
{
|
||||
$this->loadModel('action');
|
||||
$actionID = $this->action->create('mr', $MR->id, $action);
|
||||
$actionID = $this->action->create('mrapproval', $MR->id, $action);
|
||||
|
||||
$oldMR = $MR;
|
||||
if(isset($MR->status) and $MR->status == 'opened')
|
||||
|
||||
Reference in New Issue
Block a user