Proposition de correctif pour la branche 0.70-bugfixes
(déjà appliqué en 0.71)
A+
Index: inc/rulesengine.class.php
===================================================================
--- inc/rulesengine.class.php (révision 6189)
+++ inc/rulesengine.class.php (copie de travail)
@@ -66,6 +66,7 @@
$sql = "SELECT ID FROM glpi_rules_descriptions WHERE rule_type=".$this->rule_type." ORDER by ".$this->orderby." ASC";
$result = $DB->query($sql);
if ($result){
+ $this->rule_list[] = array();
while ($rule=$DB->fetch_array($result)) {
//For each rule, get a Rule object with all the criterias and actions
$tempRule= new $this->rule_class_name();
_______________________________________________
Glpi-dev mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-dev