From 10c390a654220d4dd0d7b3c1280fd7016efed3af Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 25 Apr 2009 06:56:42 +0000 Subject: [PATCH] "allow 'test' in template name for application == 'test'" --- etemplate/inc/class.soetemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.soetemplate.inc.php b/etemplate/inc/class.soetemplate.inc.php index 9c107a575f..c7248763fb 100644 --- a/etemplate/inc/class.soetemplate.inc.php +++ b/etemplate/inc/class.soetemplate.inc.php @@ -959,7 +959,7 @@ class soetemplate { if (($keys['name'] != $last['name'] || // write only newest version $keys['template'] != $last['template']) && - strpos($keys['name'],'test') === false) + (strpos($keys['name'],'test') === false || $app == 'test')) { $tpl->read($keys); $to_trans += $tpl->getToTranslate();