fix bugs in share class
parent
013ac46f22
commit
48d92c11f3
|
@ -130,7 +130,7 @@ class OC_Calendar_Share{
|
|||
}else{
|
||||
$string = OC_Calendar_Object::find($id);
|
||||
}
|
||||
$string = sha1($string);
|
||||
$string = sha1($string['calendardata']);
|
||||
$id = sha1($id);
|
||||
$array = array($uniqid,$string,$id);
|
||||
shuffle($array);
|
||||
|
@ -245,5 +245,6 @@ class OC_Calendar_Share{
|
|||
$event = $result_event->fetchRow();
|
||||
$return ['id'] = $event['eventid'];
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue