diff options
author | hass | 2008-02-09 23:20:05 (GMT) |
---|---|---|
committer | hass | 2008-02-09 23:20:05 (GMT) |
commit | 86e64cc85d20b636a37b46407c233100e70b63db (patch) | |
tree | 4c9765c9c996c68d2694c0206bf0b43a8ca396f3 /googleanalytics.admin.inc | |
parent | a7495234b53024be2bdf61f3abe4155566ab84c7 (diff) |
#216527: Remove t() from role, escape properly
Diffstat (limited to 'googleanalytics.admin.inc')
-rw-r--r-- | googleanalytics.admin.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/googleanalytics.admin.inc b/googleanalytics.admin.inc index 4ffff66..628d86b 100644 --- a/googleanalytics.admin.inc +++ b/googleanalytics.admin.inc @@ -49,11 +49,9 @@ function googleanalytics_admin_settings() { ); while ($role = db_fetch_object($result)) { - // can't use empty spaces in varname - $role_varname = $string = str_replace(' ', '_', $role->name); $form['roles']['googleanalytics_track_'. $role->rid] = array( '#type' => 'checkbox', - '#title' => t($role->name), + '#title' => check_plain($role->name), '#default_value' => variable_get('googleanalytics_track_'. $role->rid, FALSE), ); } |