From 95d540921b8b5e1f33173d6acfb8149b79b7e097 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 28 Jan 2013 21:43:38 +0800 Subject: [PATCH] DataObjects/Events.php --- DataObjects/Events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Events.php b/DataObjects/Events.php index 9933a89e..3d1103d7 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -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() : ''; -- 2.39.2