Commit 80b087a2 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

contrôle de cellule vide

parent f20fb2ae
Loading
Loading
Loading
Loading
+4
Changes for module/Application/src/Model/FormuleCalcul.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -403,7 +403,11 @@ END FORMULE_" . $this->getName() . ";";
            $this->currentCellName = $name;

            $expr = $cell->getFormuleExpr();
            if (is_array($expr)){
                $this->exprInit($expr);
            }else{
                throw new \Exception('Erreur sur la traduction de '.$name.' : cellule vide');
            }

            $mls = (string)$this->mainLine;
            if (str_ends_with($name, $mls)) {