Skip to content

Commit

Permalink
Fix bug in EloquentDataProvider.php
Browse files Browse the repository at this point in the history
I think this bug was introduced by commit : 109f0c4
  • Loading branch information
annabelle8 authored Dec 13, 2019
1 parent 66bf457 commit 564d3e3
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 564d3e3

Please sign in to comment.