diff --git a/module/mr/control.php b/module/mr/control.php index 007f413316..ad75a908e9 100644 --- a/module/mr/control.php +++ b/module/mr/control.php @@ -187,9 +187,10 @@ class mr extends control { return $this->send(array('result' => 'success', 'message' => $this->lang->mr->mergeSuccess, 'locate' => helper::createLink('mr', 'browse'))); } - /* The type of variable `$rawMR->message` is string. This is different with apiCreateMR. */ + /* The type of variable `$rawMR->message` is string. This is different with apiCreateMR. */ if(isset($rawMR->message)) return $this->send(array('result' => 'fail', 'message' => sprintf($this->lang->mr->apiError->sudo, $rawMR->message), 'locate' => helper::createLink('mr', 'view', "mr={$MRID}"))); + return $this->send(array('result' => 'fail', 'message' => $this->lang->mr->mergeFailed, 'locate' => helper::createLink('mr', 'view', "mr={$MRID}"))); }