mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
unset and at the end of processing loop, as they are used as indicator, that the entry is an hooked-app-entry; some codeformatting
This commit is contained in:
parent
5ebd54a56f
commit
165a5d6e0a
@ -397,17 +397,19 @@ class calendar_uilist extends calendar_ui
|
|||||||
$event['app'] = $app;
|
$event['app'] = $app;
|
||||||
$event['app_id'] = $app_id;
|
$event['app_id'] = $app_id;
|
||||||
}
|
}
|
||||||
elseif ($event['recur_type'] != MCAL_RECUR_NONE)
|
elseif ($event['recur_type'] != MCAL_RECUR_NONE)
|
||||||
{
|
{
|
||||||
$event['edit_link'] = "edit_series({$event['id']}, {$event['start']});return false;";
|
$event['edit_link'] = "edit_series({$event['id']}, {$event['start']});return false;";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$view_link = egw::link('/index.php',array('menuaction'=>'calendar.calendar_uiforms.edit','cal_id'=>$event['id'],'date'=>$this->bo->date2string($event['start'])));
|
$view_link = egw::link('/index.php',array('menuaction'=>'calendar.calendar_uiforms.edit','cal_id'=>$event['id'],'date'=>$this->bo->date2string($event['start'])));
|
||||||
$event['edit_link'] = $this->popup($view_link).'; return false;';
|
$event['edit_link'] = $this->popup($view_link).'; return false;';
|
||||||
}
|
}
|
||||||
|
|
||||||
$rows[] = $event;
|
$rows[] = $event;
|
||||||
|
unset($app);
|
||||||
|
unset($app_id);
|
||||||
}
|
}
|
||||||
$wv=0;
|
$wv=0;
|
||||||
$dv=0;
|
$dv=0;
|
||||||
@ -602,6 +604,8 @@ class calendar_uilist extends calendar_ui
|
|||||||
$msg = lang('Timesheet entries created for ');
|
$msg = lang('Timesheet entries created for ');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
unset($app);
|
||||||
|
unset($app_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ($failure == 0);
|
return ($failure == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user