summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/uc_views_handler_field_order_fullname.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/uc_views_handler_field_order_fullname.inc b/views/uc_views_handler_field_order_fullname.inc
index 298f565..e017682 100644
--- a/views/uc_views_handler_field_order_fullname.inc
+++ b/views/uc_views_handler_field_order_fullname.inc
@@ -38,8 +38,8 @@ class uc_views_handler_field_order_fullname extends views_handler_field {
function render($values) {
$prefix = $this->definition['prefix'];
- $first = $values->{$this->aliases[$prefix . '_first_name']};
- $last = $values->{$this->aliases[$prefix . '_last_name']};
+ $first = check_plain($values->{$this->aliases[$prefix . '_first_name']});
+ $last = check_plain($values->{$this->aliases[$prefix . '_last_name']});
switch ($this->options['format']) {
case 'last_first':
return "$last $first";
@@ -49,4 +49,4 @@ class uc_views_handler_field_order_fullname extends views_handler_field {
return "$first $last";
}
}
-} \ No newline at end of file
+}