$ /sales/includes/db/sales_order_db.inc
# Reference update should not change next reference.
$ /includes/references.inc
+# Division by zero error in graphics (Joe Hunt)
+$ /reporting/includes/class.graphic.inc
27-Sep-2010 Janusz Dobrowolski
! Alowed optional path for $icon parameter in set_icon helper
}
$this->sum_total = array_sum($this->y);
+ if ($this->sum_total == 0)
+ $this->sum_total = 1;
$this->space_between_bars += ($this->graphic_2_exists == true) ? 10 : 0;
$this->calculate_higher_value();