projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7ed1d
)
EventView.php
author
Alan Knowles
<alan@roojs.com>
Tue, 9 Oct 2018 07:11:06 +0000
(15:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 9 Oct 2018 07:11:06 +0000
(15:11 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
3df1549
..
0eab0a5
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-43,9
+43,10
@@
class Pman_Admin_EventView extends Pman
// core_event_audit
// the event file..
$d= DB_DataObject::factory('core_event_audit');
+ $d->event_id = $ev->id; // we can set that as the above returns error or dataobject..
if (is_a($d,'DB_DataObject') && $d->count()) {
echo "<H2>Changed Data:</H2>";
- $d->event_id = $ev->id;
+
foreach($d->fetchAll() as $d) {
echo "{$d->name} SET TO: " . htmlspecialchars($d->newvalue) . "<br/>\n";
}