Merge branch '5.8' into 6.0

This commit is contained in:
Matt Lantz committed 2019-09-05 08:33:18 -04:00
commit c42b4b61a8
1 file changed
+1 -1
+1 -1
View File
@@ -1298,7 +1298,7 @@ class FormBuilder
&& is_null($old)
&& is_null($value)
&& !is_null($this->view->shared('errors'))
&& count($this->view->shared('errors')) > 0
&& count(php_sapi_name() === 'cli' ? [] : $this->view->shared('errors')) > 0
) {
return null;
}