summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authoricewind1991 <icewind1991@gmail.com>2013-02-15 08:07:02 -0800
committericewind1991 <icewind1991@gmail.com>2013-02-15 08:07:02 -0800
commit425d41aaf93e1cd3a44ddc794414683e8e2c4648 (patch)
tree706d39e4e1dfc66ad1e92fe5bf56dfe105bdfa3c /core
parentcd310add23bfa27cceef52c9ab7f4be835001909 (diff)
parentb8e2454f68f745141ff4d302413f28e3f03e95e4 (diff)
downloadnextcloud-server-425d41aaf93e1cd3a44ddc794414683e8e2c4648.tar.gz
nextcloud-server-425d41aaf93e1cd3a44ddc794414683e8e2c4648.zip
Merge pull request #1717 from owncloud/fix-warning-template
Fix strict standard warning in user template
Diffstat (limited to 'core')
-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">