Was not displaying the event's title on the view form.

This commit is contained in:
skeeter 2001-08-17 19:32:03 +00:00
parent fb03557a24
commit a187036111

View File

@ -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']
);
}