$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() : '';