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;
         }
     }