diff options
Diffstat (limited to 'modules/gallery')
| -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));      }    } | 
