HOR-285 Changed strip_tags to htmlspecialchars

This commit is contained in:
Chloe Deguzman
2016-03-04 20:44:48 +00:00
parent 385864beec
commit 2170772474

View File

@@ -69,9 +69,9 @@ class Workflow extends Handler
// Check to make sure that there aren't any html sneaking into process titles.
$testTitle = strip_tags($data['PRO_TITLE']);
$testTitle = htmlspecialchars($data['PRO_TITLE']);
if($testTitle !== $data['PRO_TITLE']) {
if($testTitle != $data['PRO_TITLE']) {
$data['PRO_TITLE'] = $testTitle;
}