Procházet zdrojové kódy

Update datapolicycron.class.php

Laurent Destailleur před 2 roky
rodič
revize
7c615fafb9

+ 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);