diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-01-16 22:42:02 -0800 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-16 22:42:02 -0800 | 
| commit | 5c49c041e740b8bb8eb6afae8563731ab858aa97 (patch) | |
| tree | be57fe84342c318291b7aa9f397c72f234c8c827 /modules/gallery/controllers | |
| parent | 1c85cf6397d8c780db0d2ade185e0bbf714a57a6 (diff) | |
Use "(string) $form" instead of "$form->__toString()"
Diffstat (limited to 'modules/gallery/controllers')
| -rw-r--r-- | modules/gallery/controllers/login.php | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/modules/gallery/controllers/login.php b/modules/gallery/controllers/login.php index 75ee6b9c..464db491 100644 --- a/modules/gallery/controllers/login.php +++ b/modules/gallery/controllers/login.php @@ -33,9 +33,7 @@ class Login_Controller extends Controller {        print json_encode(          array("result" => "success"));      } else { -      print json_encode( -        array("result" => "error", -              "form" => $form->__toString())); +      print json_encode(array("result" => "error", "form" => (string) $form));      }    } | 
