Browse Source

fix zero divert error

stanley-king 2 years ago
parent
commit
28b5f073d7
1 changed files with 2 additions and 1 deletions
  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)
     public function update_params($parms)
     {
     {
         [$this->mSpeed, $this->mRatio, $this->mRatioCommit, $this->mNotifyTime,$this->mMonitorCommit] = $parms;
         [$this->mSpeed, $this->mRatio, $this->mRatioCommit, $this->mNotifyTime,$this->mMonitorCommit] = $parms;
-        if($this->mRatioCommit == 0) {
+
+        if($this->mNotifyTime == 0) {
             $this->mNotifyTime = 1;
             $this->mNotifyTime = 1;
         }
         }
     }
     }