diff --git a/pkg/vtiger/modules/SMSNotifier/modules/SMSNotifier/models/Record.php b/pkg/vtiger/modules/SMSNotifier/modules/SMSNotifier/models/Record.php index e7a5fc9f25c6ab298beebadfbff2c1c2b2e5b7f0..144c31081b92b50a38e113b799afe770f6cbbd55 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; }