Only set 'url' property if actually submitted by the client (#2876)

This commit is contained in:
Thomas Bruederli 2014-02-28 17:04:34 +01:00
parent 0ba3e8382d
commit 21e669410e

View file

@ -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']);
}
} }
/** /**