mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
If no alarms are set, it should be ok now.
This commit is contained in:
parent
11ae5e79ec
commit
c5314f991b
@ -112,6 +112,8 @@
|
|||||||
$this->template->set_var('hr_text','<hr>');
|
$this->template->set_var('hr_text','<hr>');
|
||||||
$this->template->parse('row','hr',True);
|
$this->template->parse('row','hr',True);
|
||||||
|
|
||||||
|
if($this->event['alarm'])
|
||||||
|
{
|
||||||
@reset($this->event['alarm']);
|
@reset($this->event['alarm']);
|
||||||
while(list($key,$alarm) = each($this->event['alarm']))
|
while(list($key,$alarm) = each($this->event['alarm']))
|
||||||
{
|
{
|
||||||
@ -124,6 +126,7 @@
|
|||||||
);
|
);
|
||||||
$this->output_template_array('row','list',$var);
|
$this->output_template_array('row','list',$var);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$this->template->set_var('hr_text','<hr>');
|
$this->template->set_var('hr_text','<hr>');
|
||||||
$this->template->parse('row','hr',True);
|
$this->template->parse('row','hr',True);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user