DataObjects/Events.php
authorAlan Knowles <alan@roojs.com>
Wed, 30 Jan 2013 02:49:04 +0000 (10:49 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 30 Jan 2013 02:49:04 +0000 (10:49 +0800)
DataObjects/Events.php

index 3d1103d..9933a89 100644 (file)
@@ -281,7 +281,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
           
         $this->person_name = $au && !empty($au->name) ? $au->name : '';
         $this->person_id = $au ? $au->id : -1;
-        $this->person_table = $au ? $au->tableName() : $act == 'BASIC SEARCH' ? 'ris_person' : '';
+        $this->person_table = $au ? $au->tableName() : '';
         $this->ipaddr = isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : 'cli';
         $this->action = $act;
         $this->on_table = $obj ? $obj->tableName() : '';