mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Fix UID issue
This commit is contained in:
parent
01c8f7a221
commit
ad20d701e2
@ -25,9 +25,11 @@ class Horde_iCalendar_vevent extends Horde_iCalendar {
|
||||
// Default values.
|
||||
$requiredAttributes = array();
|
||||
$requiredAttributes['DTSTAMP'] = time();
|
||||
/* This is handled by the upper layers.
|
||||
$requiredAttributes['UID'] = $this->_exportDateTime(time())
|
||||
. substr(str_pad(base_convert(microtime(), 10, 36), 16, uniqid(mt_rand()), STR_PAD_LEFT), -16)
|
||||
. '@' . (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost');
|
||||
*/
|
||||
|
||||
$method = !empty($this->_container) ?
|
||||
$this->_container->getAttribute('METHOD') : 'PUBLISH';
|
||||
|
Loading…
Reference in New Issue
Block a user