Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
Added missing return when custom fill callback called
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav Basenko committed Jan 31, 2019
1 parent 93185ac commit fa67e6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All Notable changes to `froala/nova-froala-field` will be documented in this fil

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## 1.1.4 - 2019-02-01

Added missing return when custom fill callback called

## 1.1.3 - 2019-01-31

Improved creating attachments on resource creation,
Expand Down
2 changes: 1 addition & 1 deletion src/Froala.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function withFiles($disk = null)
protected function fillAttribute(NovaRequest $request, $requestAttribute, $model, $attribute)
{
if (isset($this->fillCallback)) {
call_user_func(
return call_user_func(
$this->fillCallback,
$request,
$model,
Expand Down

0 comments on commit fa67e6a

Please sign in to comment.