Skip to content

Commit

Permalink
changed echo in daily_sales to return
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckner committed Nov 19, 2011
1 parent 0c2bfd8 commit 747bc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/classes/controller/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static function get_daily_sales(){
$grand_total += $total_price;
}

echo $grand_total;
return $grand_total;

}

Expand Down

0 comments on commit 747bc28

Please sign in to comment.