From 3babd5b56078e1f8ec5ceaf47ae0c61c7ea36f50 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 28 Apr 2015 15:45:16 +0800 Subject: [PATCH] DataObjects/Events.php --- DataObjects/Events.php | 1 - 1 file changed, 1 deletion(-) diff --git a/DataObjects/Events.php b/DataObjects/Events.php index ce085fb0..b10e1c5e 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -309,7 +309,6 @@ 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; $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