| @@ -83,9 +83,9 @@ | ||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | if ($block['type'] == 'boxed_content') { |
| 86 | 86 | return (string)App::make('view')->make('email.Default._user_box_content', [ |
| 87 | - 'user_name' => $block['options']['user']->display_name, | |
| 87 | + 'user_name' => $block['options']['user']->getPublicDisplayName(), | |
| 88 | 88 | 'user_avatar' => !(empty($block['options']['user']->xprofile->avatar)) ? $block['options']['user']->xprofile->avatar : $block['options']['user']->photo, |
| 89 | 89 | 'content' => $block['content'], |
| 90 | 90 | 'permalink' => $block['options']['permalink'], |
| 91 | 91 | 'post_content' => $block['options']['post_content'], |
| @@ -94,9 +94,9 @@ | ||
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | if ($block['type'] == 'post_boxed_content') { |
| 97 | 97 | return (string)App::make('view')->make('email.Default._user_post_content', [ |
| 98 | - 'user_name' => $block['options']['user']->display_name, | |
| 98 | + 'user_name' => $block['options']['user']->getPublicDisplayName(), | |
| 99 | 99 | 'user_avatar' => !(empty($block['options']['user']->xprofile->avatar)) ? $block['options']['user']->xprofile->avatar : $block['options']['user']->photo, |
| 100 | 100 | 'content' => $block['content'], |
| 101 | 101 | 'title' => Arr::get($block['options'], 'title'), |
| 102 | 102 | 'permalink' => $block['options']['permalink'], |