PMCORE-2635

This commit is contained in:
Andrea Adamczyk
2020-12-22 16:47:51 -04:00
parent d9811139ac
commit 52374197da
2 changed files with 12 additions and 4 deletions

View File

@@ -1829,7 +1829,11 @@ class Delegation extends Model
// If is empty get the previous title
if ($delIndexPrevious > 0) {
$thread = self::getThreadInfo($appNumber, $delIndexPrevious);
$threadTitle = $thread['DEL_TITLE'];
if(empty($thread['DEL_TITLE'])) {
$threadTitle = '# '. $appNumber;
} else {
$threadTitle = $thread['DEL_TITLE'];
}
} else {
$threadTitle = '# '. $appNumber;
}