PM-2923: I used refreshTotal only when the userUid isn't empty (Self service)
This commit is contained in:
@@ -306,7 +306,9 @@ class ListInbox extends BaseListInbox
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$users->refreshTotal($data['USR_UID'], 'add', 'inbox');
|
||||
if($data['USR_UID'] !=''){
|
||||
$users->refreshTotal($data['USR_UID'], 'add', 'inbox');
|
||||
}
|
||||
if ($dataPreviusApplication['APP_STATUS'] == 'DRAFT') {
|
||||
$users->refreshTotal($dataPreviusApplication['CURRENT_USER_UID'], 'remove', 'draft');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user