From c1a37b83e8542fc7c7f52b6b0ffb7f8d15daed0a Mon Sep 17 00:00:00 2001 From: Paula Quispe Date: Thu, 10 Aug 2017 20:03:05 -0400 Subject: [PATCH] HOR-3673 --- workflow/engine/classes/model/ListParticipatedLast.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/workflow/engine/classes/model/ListParticipatedLast.php b/workflow/engine/classes/model/ListParticipatedLast.php index 487ade2ad..aba75b537 100644 --- a/workflow/engine/classes/model/ListParticipatedLast.php +++ b/workflow/engine/classes/model/ListParticipatedLast.php @@ -34,6 +34,7 @@ class ListParticipatedLast extends BaseListParticipatedLast $aRow = $dataset->getRow(); $data['APP_STATUS'] = $aRow['APP_STATUS']; + $currentInformation = array(); if ($data['USR_UID'] != 'SELF_SERVICES') { if ($data['USR_UID'] != '') { $criteria = new Criteria(); @@ -90,7 +91,9 @@ class ListParticipatedLast extends BaseListParticipatedLast $data['APP_STATUS_ID'] = Application::$app_status_values[$data['APP_STATUS']]; } //We will update the current information - $this->updateCurrentInfoByAppUid($data['APP_UID'], $currentInformation); + if (count($currentInformation) > 0) { + $this->updateCurrentInfoByAppUid($data['APP_UID'], $currentInformation); + } $con = Propel::getConnection(ListParticipatedLastPeer::DATABASE_NAME); try {