From 0baa5d4d41c79e841dfc35a35a377f7316a145bb Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Mon, 10 Sep 2012 10:37:31 -0400
Subject: [PATCH] Do not process sub templates if no main template (master template) is present!

---
 interface/lib/plugins/clients_template_plugin.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/lib/plugins/clients_template_plugin.inc.php b/interface/lib/plugins/clients_template_plugin.inc.php
index 51f1e98..4bf222e 100644
--- a/interface/lib/plugins/clients_template_plugin.inc.php
+++ b/interface/lib/plugins/clients_template_plugin.inc.php
@@ -29,6 +29,6 @@
         global $app;
         
         $app->uses('client_templates');
-        $app->client_templates->apply_client_templates($page_form->id, $page_form->dataRecord);
+        $app->client_templates->apply_client_templates($page_form->id);
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1