Commit 79d70d26 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Forcer le typage de la variable de config redirection en tableau.

parent 5dff03fc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ EOS;
        try {
            $doNotSend = $this->fetchValueFromConfig('do_not_send', $module);
            $redirect = $this->fetchValueFromConfig('redirect', $module);
            $redirectTo = $this->fetchValueFromConfig('redirect_to', $module);
            $redirectTo = (array)$this->fetchValueFromConfig('redirect_to', $module);
            $subjectPrefix = $this->fetchValueFromConfig('subject_prefix', $module);
        } catch (NotFoundConfigException $e) {
            throw new RuntimeException("Un problème est survenu lors de la récupération de valeurs de config", 0, $e);