]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/error.php
Revert "Remove more contractions"
[quix0rs-gnu-social.git] / lib / error.php
index 6a9b76be11b97391f41ac13292ed76f38bdeba2a..3162cfe656f30c701a429f1cb6aaec6ded14e8a3 100644 (file)
@@ -70,7 +70,7 @@ class ErrorAction extends Action
      */
     function extraHeaders()
     {
-        $status_string = $this->status[$this->code];
+        $status_string = @self::$status[$this->code];
         header('HTTP/1.1 '.$this->code.' '.$status_string);
     }
 
@@ -92,7 +92,7 @@ class ErrorAction extends Action
 
     function title()
     {
-        return self::$status[$this->code];
+        return @self::$status[$this->code];
     }
 
     function isReadOnly($args)