theojeng %!s(int64=3) %!d(string=hai) anos
pai
achega
2afae903bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common/models/forms/TransferForm.php

+ 1 - 1
common/models/forms/TransferForm.php

@@ -304,7 +304,7 @@ class TransferForm extends Model {
         $fromData = Balance::getLogData($this->_fromUserInfo['ID']);
         $toData = Balance::getLogData($this->_toUserInfo['ID']);
         if ($this->_fromUserInfo['ID']==$this->_toUserInfo['ID'] && $this->_transferConfig['out']==$this->_transferConfig['in']){
-            throw new \Exception('不能给自己转账');
+            throw new \Exception('不能给同一账户转账');
         }
         $this->userOperateLogger->saveBeforeContent=array_merge($fromData,$toData);