浏览代码

fix zero divert error

stanley-king 2 年之前
父节点
当前提交
28b5f073d7
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      helper/refill/policy/ctl_itemex.php

+ 2 - 1
helper/refill/policy/ctl_itemex.php

@@ -92,7 +92,8 @@ class ctl_itemex
     public function update_params($parms)
     {
         [$this->mSpeed, $this->mRatio, $this->mRatioCommit, $this->mNotifyTime,$this->mMonitorCommit] = $parms;
-        if($this->mRatioCommit == 0) {
+
+        if($this->mNotifyTime == 0) {
             $this->mNotifyTime = 1;
         }
     }