mirror of
https://github.com/getgrav/grav.git
synced 2026-07-19 17:22:02 +02:00
Fix null -> array issue
This commit is contained in:
@@ -99,7 +99,7 @@ trait FormTrait
|
||||
*/
|
||||
public function getFiles(): array
|
||||
{
|
||||
return $this->files;
|
||||
return (array) $this->files;
|
||||
}
|
||||
|
||||
public function getValue(string $name)
|
||||
|
||||
Reference in New Issue
Block a user