projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8681488
)
DataObjects/Core_event_audit.php
author
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 04:20:26 +0000
(12:20 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 04:20:26 +0000
(12:20 +0800)
DataObjects/Core_event_audit.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_event_audit.php
b/DataObjects/Core_event_audit.php
index
534bae9
..
c5d0865
100644
(file)
--- a/
DataObjects/Core_event_audit.php
+++ b/
DataObjects/Core_event_audit.php
@@
-25,7
+25,7
@@
class Pman_Core_DataObjects_Core_event_audit extends DB_DataObject
*
*/
- function value($event)
+ function
new
value($event)
{
$x = DB_DataObject::factory($event->on_table);
$ar = $x->links();
@@
-47,8
+47,10
@@
class Pman_Core_DataObjects_Core_event_audit extends DB_DataObject
return $x->toEventString(); // big assumption..
}
+
function oldvalue($cg)
{
+
//var_dump($cg->ontable);
$x = DB_DataObject::factory($cg->ontable);