summaryrefslogtreecommitdiffstats
path: root/googleanalytics.admin.inc
diff options
context:
space:
mode:
authorhass2008-02-09 23:20:05 (GMT)
committerhass2008-02-09 23:20:05 (GMT)
commit86e64cc85d20b636a37b46407c233100e70b63db (patch)
tree4c9765c9c996c68d2694c0206bf0b43a8ca396f3 /googleanalytics.admin.inc
parenta7495234b53024be2bdf61f3abe4155566ab84c7 (diff)
#216527: Remove t() from role, escape properly
Diffstat (limited to 'googleanalytics.admin.inc')
-rw-r--r--googleanalytics.admin.inc4
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),
);
}