From 78d32cdb64bfc3c1981af946e5342d92cfd12496 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Jun 2011 11:09:49 +0000 Subject: [PATCH] not removing unknown placeholders in preferences, to keep eg. the mergeprint placeholders {{somename}} --- preferences/inc/class.uisettings.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preferences/inc/class.uisettings.inc.php b/preferences/inc/class.uisettings.inc.php index 56607f8ae3..ae8994bdaa 100755 --- a/preferences/inc/class.uisettings.inc.php +++ b/preferences/inc/class.uisettings.inc.php @@ -110,7 +110,7 @@ class uisettings $forced = get_var('forced',Array('POST')); $default = get_var('default',Array('POST')); - $this->t = new Template(common::get_tpl_dir('preferences')); + $this->t = new Template(common::get_tpl_dir('preferences'),'keep'); $this->t->set_file(array( 'preferences' => 'preferences.tpl' )); @@ -118,7 +118,7 @@ class uisettings $this->t->set_block('preferences','row','rowhandle'); $this->t->set_block('preferences','help_row','help_rowhandle'); $this->t->set_block('preferences','section_row','section_rowhandle'); - $this->t->set_var(array('rowhandle' => '','help_rowhandle' => '','messages' => '', 'section_rowhandle')); + $this->t->set_var(array('rowhandle' => '','help_rowhandle' => '','messages' => '', 'section_rowhandle' => '')); $this->prefix = get_var('prefix',array('GET'),$this->bo->session_data['appname'] == $_GET['appname'] ? $this->bo->session_data['prefix'] : '');