Explorar o código

Budget fix bug in fetch plan

Piotr Labudda %!s(int64=10) %!d(string=hai) anos
pai
achega
00b8e90692
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/Route/Budget.php

+ 1 - 1
SE/se-lib/Route/Budget.php

@@ -469,7 +469,7 @@ jQuery(document).ready(function() {
 		$res = $db->query($sql);
 		while ($r = $db->fetch($res)) {
 			$plan = array();
-			for ($i = 1; $i < 12; $i++) {
+			for ($i = 1; $i <= 12; $i++) {
 				$plan[$i] = V::get("MONTH_{$i}_VALUE", 0, $r);
 			}
 			$this->_plan[$r->ID_PROJECT] = $plan;