projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c324a65
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Aug 2012 06:40:03 +0000
(14:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Aug 2012 06:40:03 +0000
(14:40 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
e2cb66f
..
25265c2
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-372,6
+372,12
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
*/
function auditField($name, $ov, $nv, $old=false )
{
+ // hack..
+ if (is_object($nv)) {
+ return;
+
+ }
+
$x = DB_DataObject::factory('core_event_audit');
$x->setFrom(array(
'event_id' => $this->id,