Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -413,6 +413,11 @@
- $tofromusername = $message['tousername'];
- $tofromuid = $message['toid'];
- }
- + else if(count($recipients['to']) == 1) {
- + $tofromuid = $recipients['to'][0];
- + $user = $cached_users[$tofromuid];
- + $tofromusername = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
- + }
- else
- {
- $tofromusername = $lang->not_sent;
- @@ -1731,6 +1736,7 @@
- {
- if($message['folder'] == 2 || $message['folder'] == 3)
- { // Sent Items or Drafts Folder Check
- + $recipients = unserialize($message['recipients']);
- if($message['toid'])
- {
- $tofromuid = $message['toid'];
- @@ -1743,6 +1749,11 @@
- $tofromusername = build_profile_link($message['tousername'], $tofromuid);
- }
- }
- + else if(count($recipients['to']) == 1) {
- + $tofromuid = $recipients['to'][0];
- + $user = $cached_users[$tofromuid];
- + $tofromusername = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
- + }
- else
- {
- $tofromusername = $lang->not_sent;
- @@ -2064,6 +2075,11 @@
- $tofromusername = $message['tousername'];
- $tofromuid = $message['toid'];
- }
- + else if(count($recipients['to']) == 1) {
- + $tofromuid = $recipients['to'][0];
- + $user = $cached_users[$tofromuid];
- + $tofromusername = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
- + }
- else
- {
- $tofromusername = $lang->not_sent;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement