$this->action = $act;
$this->on_table = $obj ? $obj->tableName() : '';
$pk = $obj ? $obj->keys() : false;
- print_r($pk);exit;
+ print_r($obj);exit;
$this->on_id = $obj && $pk ? $obj->{$pk[0]}: 0;
$rem = array();
// should this really go in remarks? -