Commit 1e68baae authored by tguillon's avatar tguillon
Browse files

Correction : Visualisation d'un formulaire avec un RT externe

parent 0fcafc06
Pipeline #21485 passed with stage
in 1 minute and 49 seconds
......@@ -1206,7 +1206,7 @@ class FormulairesController extends AppController
];
if (empty($this->request->data)) {
if (empty($this->request->data) || $this->request->params['action'] === 'show') {
if ($formulaireOLD === false && $this->request->params['action'] === 'edit' || $this->request->params['action'] === 'show') {
$this->request->data = $this->Formulaire->find('first', [
'conditions' => [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment