DataObjects/Events.php
authorAlan Knowles <alan@roojs.com>
Thu, 6 Oct 2011 04:32:51 +0000 (12:32 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 6 Oct 2011 04:32:51 +0000 (12:32 +0800)
DataObjects/Events.php

index 718d056..22d359f 100644 (file)
@@ -62,6 +62,9 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
      */
     function checkPerm($lvl, $au) 
     {
+        if ($lvl == 'S') {
+            return true;
+        }
         // listing is controleed by applyfilters..
         return $lvl != 'S' && $au->hasPerm("Admin.Admin_Tab", 'S');
     }