mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
merging 1.2 and trunk
This commit is contained in:
parent
1f5898ce97
commit
b07127ad4a
@ -1071,18 +1071,15 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function search($_vcalData)
|
function search($_vcalData) {
|
||||||
{
|
if(!$event = $this->icaltoegw($_vcalData)) {
|
||||||
if(!$event = $this->icaltoegw($_vcalData))
|
|
||||||
{
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$query = array(
|
$query = array(
|
||||||
'cal_start='.$this->date2ts($event['start'],true), // true = Server-time
|
'cal_start='.$this->date2ts($event['start'],true), // true = Server-time
|
||||||
'cal_end='.$this->date2ts($event['end'],true),
|
'cal_end='.$this->date2ts($event['end'],true),
|
||||||
);
|
);
|
||||||
foreach(array('title','location','priority','public','non_blocking') as $name)
|
foreach(array('title','location','priority','public','non_blocking') as $name) {
|
||||||
{
|
|
||||||
if (isset($event[$name])) $query['cal_'.$name] = $event[$name];
|
if (isset($event[$name])) $query['cal_'.$name] = $event[$name];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user