Uhl
This commit is contained in:
parent
a4673e09a5
commit
aca304880d
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user