authUser is a property
authorAlan <alan@roojs.com>
Mon, 6 Mar 2023 04:14:03 +0000 (12:14 +0800)
committerAlan <alan@roojs.com>
Mon, 6 Mar 2023 04:14:03 +0000 (12:14 +0800)
Pman.php

index 754be87..cc8ccb1 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -456,7 +456,7 @@ class Pman extends HTML_FlexyFramework_Page
      */
     function jerrAuth()
     {
-        $au = $this->authUser();
+        $au = $this->authUser;
         if ($au) {
             // is it an authfailure?
             $this->jerr("Permission denied to view this resource", array('authFailure' => true));