]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
Introduced isCurrentProfileInScope() which shall check if current profile is
[quix0rs-gnu-social.git] / lib / action.php
index fb71d3073fac1f1afd34c6b6fd242efb844082c3..c019b65dc92f40e38f2acfe74991cbc5149d8bb4 100644 (file)
@@ -1170,7 +1170,7 @@ class Action extends HTMLOutputter // lawsuit
                 $link = sprintf('<a class="license" rel="external license" href="%1$s">%2$s</a>',
                                 htmlspecialchars(common_config('license', 'url')),
                                 htmlspecialchars(common_config('license', 'title')));
-                $this->raw(sprintf(htmlspecialchars($notice),
+                $this->raw(@sprintf(htmlspecialchars($notice),
                                    htmlspecialchars(common_config('site', 'name')),
                                    $link));
                 $this->elementEnd('p');
@@ -1216,7 +1216,7 @@ class Action extends HTMLOutputter // lawsuit
      *
      * @return boolean is read only action?
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return false;
     }