Skip to content

Commit

Permalink
return regions correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesnowden committed Oct 4, 2018
1 parent 41d74c3 commit a0d950a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Libs/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function regions()
{
$regions = [];
foreach( $this->views as $view ) {
$regions = $regions + array_keys( $view->regions() );
$regions = array_merge( $regions, array_keys( $view->regions() ) );
}
return $regions;
}
Expand Down

0 comments on commit a0d950a

Please sign in to comment.