diff --git a/settings/templates/users.php b/settings/templates/users.php
index 204079977a83c8a4b86bdaa1db7af2f4c62af332..e9fa5df6675cbd92d77ee55570aa65585e3b35c3 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -228,7 +228,7 @@ $_['subadmingroups'] = array_flip($items);
 				$lastLoginDate = \OC_Util::formatDate($user["lastLogin"]);
 			}
 			?>
-			<td class="lastLogin" title="<?php p('<span style="white-space: nowrap;">').p($lastLoginDate).p('</span>'); ?>"><?php p($lastLogin); ?></td>
+			<td class="lastLogin" title="<?php p('<span style="white-space: nowrap;">'.$lastLoginDate.'</span>'); ?>"><?php p($lastLogin); ?></td>
 			<td class="remove">
 				<?php if($user['name']!=OC_User::getUser()):?>
 					<a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>">