Skip to content

Commit

Permalink
Create empty modelData array to avoid undefined var error
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjaap authored and gelanivishal committed Oct 16, 2018
1 parent e6dedb7 commit c2a2a10
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function report()
$moduleData = $this->collect->getModuleData();
if (count($moduleData['changes']) > 0) {
foreach ($moduleData['changes'] as $change) {
$modelData = [];
switch ($change['type']) {
case Config::ENABLED:
$modelData = [
Expand Down

0 comments on commit c2a2a10

Please sign in to comment.