"allow 'test' in template name for application == 'test'"

This commit is contained in:
Ralf Becker 2009-04-25 06:56:42 +00:00
parent e2b6cdc800
commit 10c390a654

View File

@ -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();