BUG 8050 the problem was solved calendar display
This commit is contained in:
@@ -346,7 +346,7 @@ class CalendarDefinition extends BaseCalendarDefinition {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
function getCalendarFor($userUid, $proUid, $tasUid) {
|
function getCalendarFor($userUid, $proUid, $tasUid, $sw_validate=true) {
|
||||||
$Criteria = new Criteria ( 'workflow' );
|
$Criteria = new Criteria ( 'workflow' );
|
||||||
|
|
||||||
//Default Calendar
|
//Default Calendar
|
||||||
@@ -386,7 +386,11 @@ class CalendarDefinition extends BaseCalendarDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//print "<h1>$calendarUid</h1>";
|
//print "<h1>$calendarUid</h1>";
|
||||||
|
if($sw_validate){
|
||||||
$calendarDefinition = $this->getCalendarInfo ( $calendarUid );
|
$calendarDefinition = $this->getCalendarInfo ( $calendarUid );
|
||||||
|
}else{
|
||||||
|
$calendarDefinition = $this->getCalendarInfoE ( $calendarUid );
|
||||||
|
}
|
||||||
$calendarDefinition ['CALENDAR_APPLIED'] = $calendarOwner;
|
$calendarDefinition ['CALENDAR_APPLIED'] = $calendarOwner;
|
||||||
$this->addCalendarLog ( "--=== Calendar Applied: " . $calendarDefinition ['CALENDAR_NAME'] . " -> $calendarOwner" );
|
$this->addCalendarLog ( "--=== Calendar Applied: " . $calendarDefinition ['CALENDAR_NAME'] . " -> $calendarOwner" );
|
||||||
return $calendarDefinition;
|
return $calendarDefinition;
|
||||||
|
|||||||
Reference in New Issue
Block a user