From: Edward Date: Mon, 28 Jan 2013 13:19:53 +0000 (+0800) Subject: DataObjects/Events.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=3c67ab172f02ece5c1b23d4f73d4853ce7ca2c3f;p=Pman.Core DataObjects/Events.php --- diff --git a/DataObjects/Events.php b/DataObjects/Events.php index e82bb42a..6381a8db 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -288,6 +288,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject $this->action = $act; $this->on_table = $obj ? $obj->tableName() : ''; $pk = $obj ? $obj->keys() : false; + print_r($pk);exit; $this->on_id = $obj && $pk ? $obj->{$pk[0]}: 0; $rem = array(); // should this really go in remarks? -