Verified Commit 4b9013de authored by Alexis Ragot's avatar Alexis Ragot
Browse files

Fixed presenter if the configuration of displayable formats doesn't exists

parent 34e49ca8
...@@ -240,9 +240,12 @@ class welcome ...@@ -240,9 +240,12 @@ class welcome
if (isset(\laabs::configuration('presentation.maarchRM')['displayableFormat'])) { if (isset(\laabs::configuration('presentation.maarchRM')['displayableFormat'])) {
$this->view->setSource("displayableFormat", json_encode(\laabs::configuration('presentation.maarchRM')['displayableFormat'])); $this->view->setSource("displayableFormat", json_encode(\laabs::configuration('presentation.maarchRM')['displayableFormat']));
$this->view->merge(); } else {
$this->view->setSource("displayableFormat", json_encode(array()));
} }
$this->view->merge();
return $this->view->saveHtml(); return $this->view->saveHtml();
} }
/** /**
......
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