Add Saved Values vom DB

This commit is contained in:
Thomas Peterson 2020-07-28 08:40:48 +02:00
parent db2cdf6cbc
commit 6ba6200fbb

View File

@ -110,7 +110,7 @@ class CalcValues
if ($edge->getCalcValue() != "") { if ($edge->getCalcValue() != "") {
$cv = $this->formelCalc->parse($edge->getCalcValue()); $cv = $this->formelCalc->parse($edge->getCalcValue());
echo $id . ' '. $this->formelCalc->parse($edge->getCalcValue()) . ' ' . $cv . ' '. PHP_EOL.PHP_EOL; //echo $id . ' '. $this->formelCalc->parse($edge->getCalcValue()) . ' ' . $cv . ' '. PHP_EOL.PHP_EOL;
eval('$cv = ' . $cv . ';'); eval('$cv = ' . $cv . ';');
$this->engine->addCalcVariable($id, $cv); $this->engine->addCalcVariable($id, $cv);