mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Was not displaying the event's title on the view form.
This commit is contained in:
parent
fb03557a24
commit
a187036111
@ -2007,18 +2007,18 @@
|
||||
|
||||
$var = Array(
|
||||
'bg_text'=> $this->theme['bg_text'],
|
||||
'name' => $event->title
|
||||
'name' => $event['title']
|
||||
);
|
||||
$p->set_var($var);
|
||||
unset($var);
|
||||
|
||||
// Some browser add a \n when its entered in the database. Not a big deal
|
||||
// this will be printed even though its not needed.
|
||||
if (nl2br($event['description']))
|
||||
if ($event['description'])
|
||||
{
|
||||
$var[] = Array(
|
||||
'field' => lang('Description'),
|
||||
'data' => nl2br($event['description'])
|
||||
'data' => $event['description']
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user