From: Alan Knowles Date: Wed, 17 Nov 2010 23:36:50 +0000 (+0800) Subject: DataObjects/Events.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=7abd87c40e726cbccc311855f243677b131d0642;p=Pman.Core DataObjects/Events.php --- diff --git a/DataObjects/Events.php b/DataObjects/Events.php index 0e4bbf75..07b1feb4 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -54,9 +54,9 @@ class Pman_Core_DataObjects_Events extends DB_DataObject $pref = ''; // should this really go in remarks? - if ($obj && method_exists($obj,'toEventString')) { - $pref = $obj->toEventString() . ' : '; + $pref = $obj->toEventString() ; } - $this->remarks = $pref. $remarks; + $this->remarks = implode(' : ', array($pref, $remarks)); } }