Skip to content

Commit

Permalink
return value username
Browse files Browse the repository at this point in the history
  • Loading branch information
tecpromotion committed Jan 11, 2020
1 parent 1cdfff0 commit cb07172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/privacyconsent/privacyconsent.php
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ private function invalidateExpiredConsents()

$messageModel->notifySuperUsers(
JText::_('PLG_SYSTEM_PRIVACYCONSENT_NOTIFICATION_USER_PRIVACY_EXPIRED_SUBJECT'),
JText::sprintf('PLG_SYSTEM_PRIVACYCONSENT_NOTIFICATION_USER_PRIVACY_EXPIRED_MESSAGE', $user->user_id)
JText::sprintf('PLG_SYSTEM_PRIVACYCONSENT_NOTIFICATION_USER_PRIVACY_EXPIRED_MESSAGE', JFactory::getUser($user->user_id)->username)
);
}

Expand Down

0 comments on commit cb07172

Please sign in to comment.