diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-11-28 10:29:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-11-28 10:29:21 +0000 |
commit | 7a47bef51436381e4c41a9d291f0eb9b88e63474 (patch) | |
tree | 9e0a0d268f6ab1f49ebe0f5dda8ddb12040fb8f8 /modules/profile/profile.admin.inc | |
parent | 673aba159b039568b93b015c5c8b97a71ec530f6 (diff) | |
download | brdo-7a47bef51436381e4c41a9d291f0eb9b88e63474.tar.gz brdo-7a47bef51436381e4c41a9d291f0eb9b88e63474.tar.bz2 |
- Patch #162381 by Heine et al: properly escape strings.
Diffstat (limited to 'modules/profile/profile.admin.inc')
-rw-r--r-- | modules/profile/profile.admin.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc index d19b6e01c..ab309c147 100644 --- a/modules/profile/profile.admin.inc +++ b/modules/profile/profile.admin.inc @@ -14,7 +14,7 @@ function profile_admin_overview() { $result = db_query('SELECT title, name, type, category, fid FROM {profile_fields} ORDER BY category, weight'); $rows = array(); while ($field = db_fetch_object($result)) { - $rows[] = array(check_plain($field->title), $field->name, _profile_field_types($field->type), $field->category, l(t('edit'), "admin/user/profile/edit/$field->fid"), l(t('delete'), "admin/user/profile/delete/$field->fid")); + $rows[] = array(check_plain($field->title), check_plain($field->name), _profile_field_types($field->type), check_plain($field->category), l(t('edit'), "admin/user/profile/edit/$field->fid"), l(t('delete'), "admin/user/profile/delete/$field->fid")); } if (count($rows) == 0) { $rows[] = array(array('data' => t('No fields defined.'), 'colspan' => '6')); |