DataObjects/Events.php
authorAlan Knowles <alan@roojs.com>
Thu, 26 May 2016 02:48:34 +0000 (10:48 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 May 2016 02:48:34 +0000 (10:48 +0800)
DataObjects/Events.php

index dd172f7..90f598c 100644 (file)
@@ -61,7 +61,8 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
             }
         
         } else {
-            $person = 'Person';
+            
+            $person = $au->tableName(); //'Person';  -- projects may not use person as the auth table...
             $cfg = HTML_FlexyFramework::get()->Pman;
             if (!empty($cfg['authTable'])) {
                 $person =$cfg['authTable'];