From 5ad15d9875c5e4accbf5058c6a35efe31c1336c2 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 28 Apr 2015 15:45:07 +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 d3db8469..ce085fb0 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -309,7 +309,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject $col = $au->tableName() == "Person" ? 'person_id' : $au->tableName() . '_id'; // does $col exist? $cols = $this->table(); - print_R($cols);exit; +// print_R($cols);exit; $col = isset($cols[$col]) ? $col : 'person_id'; // for BC.... - revert to using person_id $this->{$col} = $au->pid(); //$this->person_id = $au ? (!empty($au->id) ? $au->id : $au->pid()) : -1; -- 2.39.2