summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-15 20:03:18 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-15 20:03:18 +0000
commit9dd2ce283e60b066386be6d799eded5c72d0139f (patch)
treebb0ddc1b3daa029dcf4fd614a6e8da07779a8aff /includes
parent175bb6d19af0c8f1369f9fe0569210abde8bc71c (diff)
downloadbrdo-9dd2ce283e60b066386be6d799eded5c72d0139f.tar.gz
brdo-9dd2ce283e60b066386be6d799eded5c72d0139f.tar.bz2
- Patch #565792 by pwolanin, salvis: follow-up on theme_username refactoring.
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index bb1297723..c134df5bb 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1913,9 +1913,8 @@ function template_preprocess_username(&$variables) {
if (drupal_strlen($variables['object']->name) > 20) {
$variables['object']->name = drupal_substr($variables['object']->name, 0, 15) . '...';
}
- // Make sure these are safe for use in the theme function.
+ // Make sure name is safe for use in the theme function.
$variables['object']->name = check_plain($variables['object']->name);
- $variables['object']->extra = check_plain($variables['object']->extra);
}
/**