projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e7034
)
Pman/Roo.php
author
Alan Knowles
<alan@roojs.com>
Mon, 29 Oct 2018 01:16:15 +0000
(09:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 29 Oct 2018 01:16:15 +0000
(09:16 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
3791534
..
5cd630a
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-937,10
+937,11
@@
class Pman_Roo extends Pman
if ($res === false) {
$this->jerr($x->_lastError->toString());
}
+ $ev = $this->addEvent("ADD", $x);
if (method_exists($x, 'onInsert')) {
- $x->onInsert($_REQUEST, $this);
+ $x->onInsert($_REQUEST, $this
, $ev
);
}
- $ev = $this->addEvent("ADD", $x);
+
if ($ev) {
$ev->audit($x);
}