Loading module/Application/src/Application/Service/DossierAutreService.php +5 −8 Original line number Diff line number Diff line Loading @@ -41,15 +41,12 @@ class DossierAutreService extends AbstractEntityService */ $sql = $dossierAutre->getSqlValue(); if (!empty($sql)) { try { $connection = $this->getEntityManager()->getConnection(); $result = $connection->fetchAll($sql); foreach ($result as $k => $v) { $datas [$v['VALUE_OPTION']] = $v['VALUE_OPTION']; } } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } } return $datas; Loading Loading
module/Application/src/Application/Service/DossierAutreService.php +5 −8 Original line number Diff line number Diff line Loading @@ -41,15 +41,12 @@ class DossierAutreService extends AbstractEntityService */ $sql = $dossierAutre->getSqlValue(); if (!empty($sql)) { try { $connection = $this->getEntityManager()->getConnection(); $result = $connection->fetchAll($sql); foreach ($result as $k => $v) { $datas [$v['VALUE_OPTION']] = $v['VALUE_OPTION']; } } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } } return $datas; Loading