]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusesshow.php
.inc.php please ...
[quix0rs-gnu-social.git] / actions / apistatusesshow.php
index 8b9cc347797bdfeb4b7bbff62def398e354edd2c..9dec06c390fdec731cdab432d176dcd32c9dfd61 100644 (file)
@@ -176,7 +176,7 @@ class ApiStatusesShowAction extends ApiPrivateAuthAction
      * @return boolean true
      */
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return ($_SERVER['REQUEST_METHOD'] == 'GET' || $_SERVER['REQUEST_METHOD'] == 'HEAD');
     }