Only set 'url' property if actually submitted by the client (#2876)
This commit is contained in:
parent
0ba3e8382d
commit
21e669410e
1 changed files with 4 additions and 2 deletions
|
@ -1654,8 +1654,10 @@ class calendar extends rcube_plugin
|
||||||
}
|
}
|
||||||
|
|
||||||
// mapping url => vurl because of the fullcalendar client script
|
// mapping url => vurl because of the fullcalendar client script
|
||||||
$event['url'] = $event['vurl'];
|
if (array_key_exists('vurl', $event)) {
|
||||||
unset($event['vurl']);
|
$event['url'] = $event['vurl'];
|
||||||
|
unset($event['vurl']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue