diff options
-rw-r--r-- | httemplate/browse/realestate_unit.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/browse/realestate_unit.html b/httemplate/browse/realestate_unit.html index 399cd2583..a2fff7bc2 100644 --- a/httemplate/browse/realestate_unit.html +++ b/httemplate/browse/realestate_unit.html @@ -41,8 +41,8 @@ 'unit_title', sub { return '' unless $_[0]->custnum; - return $_[0]->company if $_[0]->company; - return $_[0]->first.' '.$_[0]->last; + return encode_entities( $_[0]->company ) if $_[0]->company; + return encode_entities( $_[0]->first.' '.$_[0]->last ); }, ], links => [ |