SF.net SVN: phpwiki:[10930] trunk/lib/plugin/DebugBackendInfo.php

vargenau--- via phpwiki-checkins <[email protected]> Sun, 23 Jan 2022 12:10:34 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10930
          http://sourceforge.net/p/phpwiki/code/10930
Author:   vargenau
Date:     2022-01-23 12:10:34 +0000 (Sun, 23 Jan 2022)
Log Message:
-----------
Make ?action=DebugBackendInfo work

Modified Paths:
--------------
    trunk/lib/plugin/DebugBackendInfo.php

Modified: trunk/lib/plugin/DebugBackendInfo.php
===================================================================
--- trunk/lib/plugin/DebugBackendInfo.php	2022-01-23 11:44:12 UTC (rev 10929)
+++ trunk/lib/plugin/DebugBackendInfo.php	2022-01-23 12:10:34 UTC (rev 10930)
@@ -66,7 +66,8 @@
         }
 
         if (empty($page)) {
-            return $this->error("page missing");
+            $page = $request->getPage();
+            $page = $page->getName();
         }
 
         if (!is_bool($notallversions)) {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.