Skip to content

Commit

Permalink
check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdomba committed Aug 7, 2012
1 parent 9e1d076 commit df54c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/web/widgets/CMaskedTextField.php
Expand Up @@ -102,7 +102,7 @@ protected function getClientOptions()
if($this->placeholder!==null)
$options['placeholder']=$this->placeholder;

if($this->completed instanceof CJavaScriptExpression || (is_string($this->completed) && strpos($this->completed,'js:')!==0))
if($this->completed instanceof CJavaScriptExpression || (is_string($this->completed) && strpos($this->completed,'js:')===0))
$options['completed']=$this->completed;
else
$options['completed']=new CJavaScriptExpression($this->completed);
Expand Down

0 comments on commit df54c65

Please sign in to comment.