Pman.php
authorChris <chris@roojs.com>
Fri, 28 Sep 2012 07:16:27 +0000 (15:16 +0800)
committerChris <chris@roojs.com>
Fri, 28 Sep 2012 07:16:27 +0000 (15:16 +0800)
Pman.php

index fc64b05..979b02c 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -782,7 +782,7 @@ class Pman extends HTML_FlexyFramework_Page
         
         $eid = $e->insert();
         
-        $e->onInsert();
+        $e->onInsert($this);
         $wa = DB_DataObject::factory('core_watch');
         if (method_exists($wa,'notifyEvent')) {
             $wa->notifyEvent($e); // trigger any actions..