Avoid double escaping

This commit is contained in:
Michal Čihař 2011-08-15 09:39:34 +02:00
parent 7346e7aa93
commit 951df3599f

View File

@ -112,7 +112,6 @@ class Advisor
{
$jst = preg_split('/\s*\|\s*/', $rule['justification'], 2);
if (count($jst) > 1) {
$jst[0] = Advisor::escapePercent($jst[0]);
return array($jst[0], $jst[1]);
}
return array($rule['justification']);