From 5754135335377a4fc49d2295d9f8cb768c451df9 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 14 Nov 2018 16:34:09 +0800 Subject: [PATCH] commit --- DataObjects/Events.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DataObjects/Events.php b/DataObjects/Events.php index de8fe6a5..c89d84ec 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -347,7 +347,11 @@ class Pman_Core_DataObjects_Events extends DB_DataObject $rem[] = $obj->toEventString(); } } - $rem[] = $remarks; + + if(!empty($remarks)){ + $rem[] = $remarks; + } + $this->remarks = implode(' : ', $rem); } -- 2.39.2