summaryrefslogtreecommitdiffstats
path: root/common/contrib/views/SA-CONTRIB-2019-036-6.x-3.x.patch
blob: 10077fbaa4aeeeac5442c4603df9225fb93e4829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/handlers/views_handler_field_serialized.inc b/handlers/views_handler_field_serialized.inc
index 5cef94ce..2dde5906 100644
--- a/handlers/views_handler_field_serialized.inc
+++ b/handlers/views_handler_field_serialized.inc
@@ -56,6 +56,6 @@ class views_handler_field_serialized extends views_handler_field {
       return check_plain($value[$this->options['key']]);
     }
 
-    return $value;
+    return check_plain($value);
   }
 }