forked from extern/egroupware
Don't error if a single ID is sent, just cast it
This commit is contained in:
parent
9c29079ddf
commit
47f96640c9
@ -121,7 +121,7 @@ class calendar_merge extends Api\Storage\Merge
|
|||||||
*/
|
*/
|
||||||
function merge_string($content,$ids,$err,$mimetype,$fix)
|
function merge_string($content,$ids,$err,$mimetype,$fix)
|
||||||
{
|
{
|
||||||
$ids = $this->validate_ids($ids, $content);
|
$ids = $this->validate_ids((array)$ids, $content);
|
||||||
|
|
||||||
return parent::merge_string($content, $ids, $err, $mimetype,$fix);
|
return parent::merge_string($content, $ids, $err, $mimetype,$fix);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user