summaryrefslogtreecommitdiff
path: root/actions/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/all.php')
-rw-r--r--actions/all.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/all.php b/actions/all.php
index 61cedce74..452803d8a 100644
--- a/actions/all.php
+++ b/actions/all.php
@@ -160,12 +160,11 @@ class AllAction extends ProfileAction
function showPageTitle()
{
- $user =& common_current_user();
+ $user = common_current_user();
if ($user && ($user->id == $this->user->id)) {
$this->element('h1', null, _("You and friends"));
} else {
$this->element('h1', null, sprintf(_('%s and friends'), $this->user->nickname));
}
}
-
}