diff --git a/models/GenericTable.php b/models/GenericTable.php index b076df1..9356cce 100644 --- a/models/GenericTable.php +++ b/models/GenericTable.php @@ -208,7 +208,7 @@ class GenericTable { // Basic option: simply take a use a particular data property. case 'value': - $value = $rowData[$options['data']]; + $value = htmlspecialchars($rowData[$options['data']]); break; // Processing via a lambda function.