diff options
Diffstat (limited to 'mod/profile/views')
-rw-r--r-- | mod/profile/views/default/river/ElggUser/update.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mod/profile/views/default/river/ElggUser/update.php b/mod/profile/views/default/river/ElggUser/update.php index c9b710512..36f775991 100644 --- a/mod/profile/views/default/river/ElggUser/update.php +++ b/mod/profile/views/default/river/ElggUser/update.php @@ -1,10 +1,12 @@ <?php
-
- $performed_by = $vars['performed_by'];
+ + $statement = $vars['statement']; + + $performed_by = $statement->getSubject(); + + $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; + $string = sprintf(elgg_echo("profile:river:update"),$url); - $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
- $string = sprintf(elgg_echo("profile:river:update"),$url);
-
?>
<?php echo $string; ?>
\ No newline at end of file |