Permalink
Browse files

check fix

  • Loading branch information...
1 parent 9e1d076 commit df54c650b30fbbdc9d9c08d1c0e909afe2ba1d62 @mdomba mdomba committed Aug 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/web/widgets/CMaskedTextField.php
View
2 framework/web/widgets/CMaskedTextField.php
@@ -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);

0 comments on commit df54c65

Please sign in to comment.