summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-02-15 16:10:06 +0100
committerRobin Appelman <icewind@owncloud.com>2013-02-15 16:10:06 +0100
commitb8e2454f68f745141ff4d302413f28e3f03e95e4 (patch)
tree706d39e4e1dfc66ad1e92fe5bf56dfe105bdfa3c /core/templates
parentcd310add23bfa27cceef52c9ab7f4be835001909 (diff)
downloadnextcloud-server-b8e2454f68f745141ff4d302413f28e3f03e95e4.tar.gz
nextcloud-server-b8e2454f68f745141ff4d302413f28e3f03e95e4.zip
Fix strict standard warning in user template
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 0d2a9f5d34a..2d00bdb5c8e 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -31,7 +31,7 @@
<ul id="settings" class="svg">
<span id="expand">
- <?php echo OCP\User::getDisplayName($user=null)?OC_Util::sanitizeHTML(OCP\User::getDisplayName($user=null)):(OC_User::getUser()?OC_User::getUser():'') ?>
+ <?php echo $_['displayname'] ?>
<img class="svg" src="<?php echo image_path('', 'actions/caret.svg'); ?>" />
</span>
<div id="expanddiv">