mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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='')
|
||||
{
|
||||
$this->bool_attr_default += array(
|
||||
$this->bool_attr_default = ($this->bool_attr_default ?? []) + array(
|
||||
'multiple' => false,
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user