Commit fd524bf3 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction de bug : l'intégration d'une nouvelle formule tableur buguait en...

Correction de bug : l'intégration d'une nouvelle formule tableur buguait en prod lorsque UnicaenCode n'est pas chargé
parent 69611174
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -104,9 +104,7 @@ class AdministrationController extends AbstractController
        $variables = [];
        try{
            $formule = $this->getServiceFormulator()->implanter($file);
            ob_start();
            phpDump($formule->getPhpClass());
            $variables['phpClass'] = ob_get_clean();
            $variables['phpClass'] = null;
        }catch(\Exception $e){
            $variables['error'] = $e->getMessage();
        }