Fix error if extra param was null

This commit is contained in:
nathangray 2020-04-14 10:20:06 -06:00
parent 8b81caae47
commit 46a36a2d98

View File

@ -671,7 +671,7 @@ class Sharing
{
throw new Exception\WrongParameter('Missing share path. Unable to create share.');
}
$extra = $extra + array(
$extra = (array)$extra + array(
'share_writable' => $writable,
'include_files' => $files
);