Jelajahi Sumber

Update datapolicycron.class.php

Laurent Destailleur 2 tahun lalu
induk
melakukan
7c615fafb9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      htdocs/datapolicy/class/datapolicycron.class.php

+ 1 - 1
htdocs/datapolicy/class/datapolicycron.class.php

@@ -451,7 +451,7 @@ class DataPolicyCron
 		$this->db->begin();
 
 		foreach ($arrayofparameters as $key => $params) {
-			if (getDolGlobalInt($key) != '' && is_numeric(getDolGlobalInt($key)) && (int) getDolGlobalInt($key) > 0) {
+			if (getDolGlobalInt($key) > 0) {
 				$sql = sprintf($params['sql'], (int) $conf->entity, (int) getDolGlobalInt($key), (int) getDolGlobalInt($key));
 
 				$resql = $this->db->query($sql);