Skip to content

Commit 4aecb0b

Browse files
committed
Merge branch '5.8' into 6.0
2 parents 3e4c999 + 3a1c997 commit 4aecb0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FormBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ public function getValueAttribute($name, $value = null)
12981298
&& is_null($old)
12991299
&& is_null($value)
13001300
&& !is_null($this->view->shared('errors'))
1301-
&& count($this->view->shared('errors')) > 0
1301+
&& count(php_sapi_name() === 'cli' ? [] : $this->view->shared('errors')) > 0
13021302
) {
13031303
return null;
13041304
}

0 commit comments

Comments
 (0)