]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
Added new 'Scroller' plugin from @buttle which aims to replace the out-dated
[quix0rs-gnu-social.git] / lib / action.php
index 5627b73b6cd7da6484ecdc0fe5dd67f784f0756c..5dff73906a620f186007ba6b90b54d6f0abb4b06 100644 (file)
@@ -1225,7 +1225,7 @@ class Action extends HTMLOutputter // lawsuit
      *
      * @return boolean is read only action?
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return false;
     }
@@ -1371,7 +1371,7 @@ class Action extends HTMLOutputter // lawsuit
      * Upstream bug is::
      * https://pear.php.net/bugs/bug.php?id=20291
      */
-    function booleanintstring($key, $def)
+    function booleanintstring($key, $def=false)
     {
         return $this->boolean($key, $def) ? '1' : '0';
     }