]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/error.php
Merge branch '0.7.x' into 0.8.x
[quix0rs-gnu-social.git] / lib / error.php
index 9842053d885fd92a4603cdde97a4a86f0f4e2a23..282682133a2c64abd366ef1102fd2869c74b4648 100644 (file)
@@ -93,7 +93,7 @@ class ErrorAction extends Action
         return $this->message;
     }
 
-    function isReadOnly()
+    function isReadOnly($args)
     {
         return true;
     }
@@ -111,7 +111,7 @@ class ErrorAction extends Action
     function showBody()
     {
         $this->elementStart('body', array('id' => 'error'));
-        $this->elementStart('div', 'wrap');
+        $this->elementStart('div', array('id' => 'wrap'));
         $this->showHeader();
         $this->showCore();
         $this->showFooter();
@@ -130,6 +130,7 @@ class ErrorAction extends Action
     {
         $this->elementStart('div', array('id' => 'header'));
         $this->showLogo();
+        $this->showPrimaryNav();
         $this->elementEnd('div');
     }