Skip to content

Commit

Permalink
Fix #9900 - Conditions doesn't recognize some of the characters set
Browse files Browse the repository at this point in the history
  • Loading branch information
SinergiaCRM authored and clemente-raposo committed Feb 23, 2023
1 parent e198789 commit acab37f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/AOW_WorkFlow/AOW_WorkFlow.php
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,10 @@ public function check_valid_bean(SugarBean $bean)
} elseif ($data['type'] == 'bool' && (!(bool)$value || strtolower($value) == 'false')) {
$value = 0;
}
$type = $data['dbType'] ?? $data['type'];
if ((strpos($type, 'char') !== false || strpos($type, 'text') !== false) && !empty($field)) {
$field = from_html($field);
}
break;
}

Expand Down

0 comments on commit acab37f

Please sign in to comment.