Merge remote-tracking branch 'origin/feature/HOR-3559' into feature/HOR-3629

This commit is contained in:
Ronald Quenta
2017-08-10 21:23:02 -04:00
2 changed files with 27 additions and 55 deletions

View File

@@ -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 {