Skip to content

Commit

Permalink
[BF] Off by one couting issue for admin dashboard - ports by location
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed May 25, 2020
1 parent f6e01d8 commit 4a10448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private function dashboardStats( Request $request )
// ----

if( !isset( $custsByLocation[ $location ] ) ) {
$custsByLocation[ $location ] = 0;
$custsByLocation[ $location ] = 1;
} else {
$custsByLocation[ $location ]++;
}
Expand Down

0 comments on commit 4a10448

Please sign in to comment.