Skip to content
Snippets Groups Projects
Commit cdca3928 authored by lbrun's avatar lbrun
Browse files

dev#25728: Fix test

parent f2ec0ac6
Branches
Tags
2 merge requests!1196Dev#25728 bonus ajouter la possibilite de flux rss a la boite sitotheque,!1184Dev#25728 bonus ajouter la possibilite de flux rss a la boite sitotheque
......@@ -28,7 +28,7 @@ class ZendAfi_Controller_Action_Helper_RenderRss extends Zend_Controller_Action_
$this->_view = $view;
$datas = [];
$default_values =
$data_rss =
[
'title' => 'Flux indisponible',
'link' => ($this->getActionController()->getRequest()->getScheme() . '://'
......@@ -43,7 +43,7 @@ class ZendAfi_Controller_Action_Helper_RenderRss extends Zend_Controller_Action_
$preferences = $profil->getModuleAccueilPreferences($id_module, ($this->_type == 'SITO') ? 'SITO' : 'NEWS');
$datas = $this->_getObjectDatas($id_module, $profil, $preferences);
$data_rss = array_merge(
$default_values,
$data_rss,
[
'title' => (trim($preferences['titre']) ? trim($preferences['titre']) : $profil->getLibelle()),
'link' => $this->_getLink($profil, $id_module),
......
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