diff options
Diffstat (limited to 'modules/gallery/controllers/login.php')
-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 cfccaf17..cfe86cfb 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)); } } |