]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/register.php
Don't accept non-objects before testing with "instanceof".
[quix0rs-gnu-social.git] / actions / register.php
index 7ab04534f6ffaf6ae72d7ebe6d237ff6f5581438..f030c279d878c8f6083915a94baf188b049b1aa5 100644 (file)
@@ -120,7 +120,7 @@ class RegisterAction extends Action
      *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);