This commit is contained in:
Alexander Makarov
2012-08-07 16:07:09 +04:00
parent 473e396952
commit c0f459dd83

View File

@@ -30,7 +30,7 @@ class CJavaScriptExpression
public function __construct($code)
{
if(!is_string($code))
throw new CException('Value passed to CJavaScriptExpression should be string.');
throw new CException('Value passed to CJavaScriptExpression should a be string.');
$this->code=$code;
}