mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Small changes to allow an ignore of conflicting events.
This commit is contained in:
parent
a08d84199c
commit
4235b55980
@ -389,9 +389,11 @@
|
||||
|
||||
$ui = CreateObject('calendar.uicalendar');
|
||||
|
||||
if(isset($HTTP_GET_VARS['readsess']))
|
||||
if(isset($GLOBALS['HTTP_GET_VARS']['readsess']))
|
||||
{
|
||||
$event = $this->restore_from_appsession();
|
||||
$event['title'] = stripslashes($event['title']);
|
||||
$event['description'] = stripslashes($event['description']);
|
||||
$datetime_check = $this->validate_update($event);
|
||||
if($datetime_check)
|
||||
{
|
||||
@ -523,6 +525,8 @@
|
||||
$this->so->add_attribute('priority',$l_cal['priority']);
|
||||
$event = $this->get_cached_event();
|
||||
|
||||
$event['title'] = addslashes($event['title']);
|
||||
$event['description'] = addslashes($event['description']);
|
||||
$this->store_to_appsession($event);
|
||||
$datetime_check = $this->validate_update($event);
|
||||
if($datetime_check)
|
||||
@ -657,7 +661,7 @@
|
||||
{
|
||||
$error = 0;
|
||||
// do a little form verifying
|
||||
if (!$event['participants'])
|
||||
if (!count($event['participants']))
|
||||
{
|
||||
$error = 43;
|
||||
}
|
||||
|
@ -37,6 +37,8 @@
|
||||
echo 'SO Filter : '.$this->filter."<br>\n";
|
||||
echo 'SO cat_id : '.$this->cat_id."<br>\n";
|
||||
}
|
||||
$this->cal = CreateObject('calendar.socalendar_');
|
||||
$this->cal->open('INBOX',intval($this->owner));
|
||||
}
|
||||
|
||||
function makeobj()
|
||||
|
Loading…
Reference in New Issue
Block a user