aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/river/user/default/profileiconupdate.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/default/river/user/default/profileiconupdate.php b/views/default/river/user/default/profileiconupdate.php
index a723c5335..3237d7aad 100644
--- a/views/default/river/user/default/profileiconupdate.php
+++ b/views/default/river/user/default/profileiconupdate.php
@@ -2,12 +2,12 @@
/**
* Update avatar river view
*/
-$subject = $vars['item']->getSubjectEntity();
-$subject_icon = elgg_view_entity_icon($subject, 'tiny');
-echo elgg_echo("profile:river:iconupdate");
+$subject = $vars['item']->getSubjectEntity();
+
+echo elgg_view('river/item', array(
+ 'item' => $vars['item'],
+ 'attachments' => elgg_view_entity_icon($subject, 'tiny'),
+));
-echo '<div class="elgg-river-content clearfix">';
-echo $subject_icon;
-echo '</div>';