From 350b5fb6c818aa8280905e556c622b521571fb87 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 23 Sep 2006 12:57:48 +0000 Subject: [PATCH] Strip all tags from role names before use --- admin/roles/manage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/roles/manage.php b/admin/roles/manage.php index a1a4f0a3ad..5ad8c94e2a 100755 --- a/admin/roles/manage.php +++ b/admin/roles/manage.php @@ -269,7 +269,7 @@ } foreach ($roles as $rolex) { - $roleoptions[$rolex->id] = format_string($rolex->name); + $roleoptions[$rolex->id] = strip_tags(format_string($rolex->name)); } // this is the array holding capabilities of this role sorted till this context -- 2.39.5