projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c83940
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 04:52:59 +0000
(12:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 04:52:59 +0000
(12:52 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
9c2ce52
..
5177127
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-87,7
+87,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$x->setFrom(array(
'event_id' => $this->id,
'name' => $k,
- 'old_value_id' => $
x->findLast($this, $name)
,
+ 'old_value_id' => $
old ? $x->findLast($this, $name) : 0
,
'newvalue' => $n
));