#875 Could not use OQL queries with a double quote in the condition

SVN:trunk[3159]
This commit is contained in:
Romain Quetiez
2014-05-19 08:28:39 +00:00
parent 85cb04a3f3
commit fcfc1e7307

View File

@@ -657,7 +657,7 @@ class WebPage implements Page
foreach ($aActions as $aAction)
{
$sClass = isset($aAction['class']) ? " class=\"{$aAction['class']}\"" : "";
$sOnClick = isset($aAction['onclick']) ? " onclick=\"{$aAction['onclick']}\"" : "";
$sOnClick = isset($aAction['onclick']) ? ' onclick="'.htmlspecialchars($aAction['onclick'], ENT_QUOTES, "UTF-8").'"' : '';
$sTarget = isset($aAction['target']) ? " target=\"{$aAction['target']}\"" : "";
if (empty($aAction['url']))
{