From 8622ca7bb0987a170cb9d525bbadd683bf0d7a7b Mon Sep 17 00:00:00 2001 From: bergware Date: Sat, 2 May 2020 09:09:16 +0200 Subject: [PATCH] Multi-language support --- plugins/dynamix/include/FileUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/FileUpload.php b/plugins/dynamix/include/FileUpload.php index ee1d55fcd..ea611af9d 100644 --- a/plugins/dynamix/include/FileUpload.php +++ b/plugins/dynamix/include/FileUpload.php @@ -66,7 +66,7 @@ case 'add': $name = rtrim($name,')'); $i = 0; $place = "$plugins/dynamix.$file.xml"; $child = ['LanguageURL','Language','LanguageLocal','Author','Name','TemplateURL','Version','Icon','Description','Changes']; - $value = [$save,$name,$home,$_SERVER['HTTP_HOST'],"$name translation",$place,date('Y.m.d',time()),'','','']; + $value = ['',$name,$home,$_SERVER['HTTP_HOST'],"$name translation",$place,date('Y.m.d',time()),'','','']; // create a corresponding XML file $xml = new SimpleXMLElement(''); foreach ($child as $key) $xml->addChild($key,$value[$i++]);