DataObjects/Events.php
authorEdward <edward@roojs.com>
Mon, 28 Jan 2013 13:43:38 +0000 (21:43 +0800)
committerEdward <edward@roojs.com>
Mon, 28 Jan 2013 13:43:38 +0000 (21:43 +0800)
DataObjects/Events.php

index 9933a89..3d1103d 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() : '';
+        $this->person_table = $au ? $au->tableName() : $act == 'BASIC SEARCH' ? 'ris_person' : '';
         $this->ipaddr = isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : 'cli';
         $this->action = $act;
         $this->on_table = $obj ? $obj->tableName() : '';