BUG 9304 Notice al derivar un caso que esta configurado con... SOLVED
- In the single application out notice. - were validated the data to to avoid these notice.
This commit is contained in:
@@ -248,9 +248,13 @@ class Home extends Controller
|
||||
$cases['data'][$i]['APP_TITLE'] = G::LoadTranslation('ID_CASE'). ' ' . $appTitle;
|
||||
}
|
||||
|
||||
$cases['data'][$i]['DEL_DELEGATE_DATE'] = G::getformatedDate($row['DEL_DELEGATE_DATE'], 'M d, yyyy - h:i:s');
|
||||
if (isset($row['DEL_DELEGATE_DATE'])) {
|
||||
$cases['data'][$i]['DEL_DELEGATE_DATE'] = G::getformatedDate($row['DEL_DELEGATE_DATE'],
|
||||
'M d, yyyy - h:i:s');
|
||||
}
|
||||
if (isset($row['APP_DEL_PREVIOUS_USER'])) {
|
||||
$cases['data'][$i]['APP_DEL_PREVIOUS_USER'] = ucwords($row['APP_DEL_PREVIOUS_USER']);
|
||||
|
||||
}
|
||||
// Completting with Notes
|
||||
$notes = $appNotes->getNotesList($row['APP_UID'], '', $notesStart, $notesLimit);
|
||||
$notes = $notes['array'];
|
||||
@@ -258,7 +262,6 @@ class Home extends Controller
|
||||
$cases['data'][$i]['NOTES_COUNT'] = $notes['totalCount'];
|
||||
$cases['data'][$i]['NOTES_LIST'] = $notes['notes'];
|
||||
}
|
||||
|
||||
return $cases;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user