Skip to content

Commit

Permalink
Merge pull request #210 from annabelle8/patch-1
Browse files Browse the repository at this point in the history
Fix bug in EloquentDataProvider.php
  • Loading branch information
Nayjest authored Dec 13, 2019
2 parents 66bf457 + 564d3e3 commit 5137e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EloquentDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public function getRow()
$row = new EloquentDataRow($item, $this->getRowId());

if (version_compare(Application::VERSION, '5.8', '>=')) {
Event::dispatch(self::EVENT_PREPARE, $this);
Event::dispatch(self::EVENT_FETCH_ROW, $this);
} else {
Event::fire(self::EVENT_PREPARE, $this);
Event::fire(self::EVENT_FETCH_ROW, $this);
}

return $row;
Expand Down

0 comments on commit 5137e9a

Please sign in to comment.