projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264bf42
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Wed, 30 Jan 2013 02:49:04 +0000
(10:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 30 Jan 2013 02:49:04 +0000
(10:49 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
3d1103d
..
9933a89
100644
(file)
--- 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() :
$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() : '';