mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: null + array
This commit is contained in:
parent
c8bab89460
commit
1ad1c6e951
@ -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