From 1b9d2f3435f9d90443f68017cb0cd4abbe69ae52 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Mon, 14 Dec 2015 13:45:11 -0500
Subject: [PATCH] - Added template content hook feature
---
interface/lib/classes/tform_base.inc.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface/lib/classes/tform_base.inc.php b/interface/lib/classes/tform_base.inc.php
index 95162a7..4cc98a4 100644
--- a/interface/lib/classes/tform_base.inc.php
+++ b/interface/lib/classes/tform_base.inc.php
@@ -126,7 +126,7 @@
function loadFormDef($file, $module = '') {
global $app, $conf;
- $app->plugin->raiseEvent('on_before_formdef', $module);
+ $app->plugin->raiseEvent('on_before_formdef', $this);
include $file;
$this->formDef = $form;
@@ -152,7 +152,7 @@
}
if(isset($wb_global)) unset($wb_global);
- $app->plugin->raiseEvent('on_after_formdef', $module);
+ $app->plugin->raiseEvent('on_after_formdef', $this);
$this->wordbook = $wb;
--
Gitblit v1.9.1