Commit a7e205d2 authored by Steven Wittens's avatar Steven Wittens

- Fixed incorrect filter usage

parent 4e2c0b25
......@@ -190,7 +190,7 @@ function _profile_user_view(&$user, $mode) {
case "textfield":
case "textarea":
case "checkbox":
$value = ($t == "profile_homepage") ? "<a href=\"". check_output($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
$value = ($t == "profile_homepage") ? "<a href=\"". drupal_specialchars($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
$output .= form_item($field[1], $value);
break;
case "select":
......
......@@ -190,7 +190,7 @@ function _profile_user_view(&$user, $mode) {
case "textfield":
case "textarea":
case "checkbox":
$value = ($t == "profile_homepage") ? "<a href=\"". check_output($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
$value = ($t == "profile_homepage") ? "<a href=\"". drupal_specialchars($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
$output .= form_item($field[1], $value);
break;
case "select":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment