From 20b6cb28b16fd663ea386fd6faf6c3129a97f42b Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Thu, 7 Feb 2013 18:07:27 +0100 Subject: Fix warning with displayname in user layout template --- core/templates/layout.user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 2547278547f..ecba54497c7 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -1,7 +1,7 @@ - <?php echo isset($_['application']) && !empty($_['application'])?$_['application'].' | ':'' ?>ownCloud <?php echo OC_User::getDisplayName()?' ('.OC_Util::sanitizeHTML(OC_User::getDisplayName()).') ':'' ?> + <?php echo !empty($_['application'])?$_['application'].' | ':'' ?>ownCloud <?php echo !empty($_['user_displayname'])?' ('.$_['user_displayname'].') ':'' ?> -- cgit v1.2.3