diff --git a/pts-core/phoromatic/public_html/event.php b/pts-core/phoromatic/public_html/event.php
index a2b99b72b1..71a96463e0 100644
--- a/pts-core/phoromatic/public_html/event.php
+++ b/pts-core/phoromatic/public_html/event.php
@@ -93,7 +93,7 @@
$stmt->bindValue(':sub_target', $sub_target);
if($stmt->execute())
{
- echo 'Trigger ' . $_GET['trigger'] . ' added!';
+ echo 'Trigger ' . htmlspecialchars($_GET['trigger']) . ' added!';
}
break;