Skip to content

Commit

Permalink
(Fixes issue 839)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiang.xue committed Jan 17, 2010
1 parent 061077b commit c94f9e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Version 1.1.1 to be released
----------------------------
- Bug #839: typo in CFormatter about calling method_exists() (Qiang)
- Bug: Setting the 'with' option in criteria array doesn't trigger eager loading for AR (Qiang)
- New: Added CActiveForm that performs model validations via AJAX (Qiang)

Expand Down
2 changes: 1 addition & 1 deletion framework/utils/CFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class CFormatter extends CApplicationComponent
*/
public function __call($name,$parameters)
{
if(method_exists('format'.$name))
if(method_exists($this,'format'.$name))
return call_user_func_array(array($this,'format'.$name),$parameters);
else
return parent::__call($name,$parameters);
Expand Down

0 comments on commit c94f9e6

Please sign in to comment.