From fa67e6aac5557004c3fc72318d32969d7d35e449 Mon Sep 17 00:00:00 2001 From: Vyacheslav Basenko Date: Fri, 1 Feb 2019 01:32:06 +0200 Subject: [PATCH] Added missing return when custom fill callback called --- CHANGELOG.md | 4 ++++ src/Froala.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9541e4..19547d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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, diff --git a/src/Froala.php b/src/Froala.php index bb99741..a714c84 100644 --- a/src/Froala.php +++ b/src/Froala.php @@ -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,