forked from extern/egroupware
fix PHP 8.0 TypeError: Unsupported operand types: null + array
This commit is contained in:
parent
66d45452ab
commit
9fbd07e335
@ -41,7 +41,7 @@ class File extends Etemplate\Widget
|
|||||||
*/
|
*/
|
||||||
public function __construct($xml='')
|
public function __construct($xml='')
|
||||||
{
|
{
|
||||||
$this->bool_attr_default += array(
|
$this->bool_attr_default = ($this->bool_attr_default ?? []) + array(
|
||||||
'multiple' => false,
|
'multiple' => false,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user