This commit is contained in:
Thomas Peterson 2020-11-13 10:38:30 +01:00
parent a4673e09a5
commit aca304880d

View File

@ -224,6 +224,17 @@ class Engine
$this->price = 0; $this->price = 0;
$tmp = [];
foreach ($this->variables as $key => $variable) {
if(!is_array($variable)) {
$tmp[$key] = str_replace(",", ".", $variable);
}else{
$tmp[$key] = $variable;
}
}
$this->variables = $tmp;
$this->article = $this->getArticleByName($this->activeArticle); $this->article = $this->getArticleByName($this->activeArticle);
if($this->article === null) { if($this->article === null) {