From 33a3196001a29e82f77faf8799c58c6ec3cc7579 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Jul 2015 18:54:00 -0400 Subject: Fix minor issues --- app/Model/Board.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/Board.php') diff --git a/app/Model/Board.php b/app/Model/Board.php index bcf77b3e..b1032e90 100644 --- a/app/Model/Board.php +++ b/app/Model/Board.php @@ -281,7 +281,7 @@ class Board extends Base $sum = 0; foreach ($tasks as $task) { - $sum += $task['score']; + $sum += $task[$field]; } return $sum; -- cgit v1.2.3