From c225d9bfaa3d1a17b7421398e46178843e997ebc Mon Sep 17 00:00:00 2001 From: prasad <prasad@vtiger.com> Date: Wed, 17 Feb 2016 19:35:28 +0530 Subject: [PATCH] Fix: Intialize SMS record status color data. --- .../modules/SMSNotifier/modules/SMSNotifier/models/Record.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/vtiger/modules/SMSNotifier/modules/SMSNotifier/models/Record.php b/pkg/vtiger/modules/SMSNotifier/modules/SMSNotifier/models/Record.php index e7a5fc9f2..144c31081 100644 --- a/pkg/vtiger/modules/SMSNotifier/modules/SMSNotifier/models/Record.php +++ b/pkg/vtiger/modules/SMSNotifier/modules/SMSNotifier/models/Record.php @@ -20,7 +20,8 @@ class SMSNotifier_Record_Model extends Vtiger_Record_Model { $statusColor = $this->getColorForStatus($statusDetails[0]['status']); - $this->setData($statusDetails[0]); + $data = array_merge($statusDetails[0], array('statuscolor' => $statusColor)); + $this->setData($data); return $this; } -- GitLab