Skip to content
Snippets Groups Projects
Commit 7b51ed31 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #20093 fix fatal errors

parent 1944a4fb
Branches
Tags
5 merge requests!715Master,!688Master,!687Hotline master,!683backport fix to master,!679Hotline #20093 save 2 cols widget delete insite widget settings
......@@ -1918,7 +1918,7 @@ class Class_Profil extends Storm_Model_Abstract {
public function getModuleTitle($id_module) {
if(!array_key_exists('titre', $this->getModulePref($id_module)))
if(!array_key_exists('titre', ($pref_module = $this->getModulePref($id_module))))
return '';
return $pref_module['titre'];
......
......@@ -16,12 +16,12 @@
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class Class_Systeme_ModulesAccueil_DomainBrowser extends Class_Systeme_ModulesAccueil_Null{
protected $_group = Class_Systeme_ModulesAccueil::GROUP_RECH;
protected $_libelle = 'Domaines';
......@@ -34,6 +34,7 @@ class Class_Systeme_ModulesAccueil_DomainBrowser extends Class_Systeme_ModulesAc
protected $_popupHeight = 700;
protected $_defaultValues = ['titre' => 'Domaines',
'allow_breadcrumb' => 0,
'root_domain_id' => 0,
'display_mode' => Class_Systeme_ModulesAppli::LISTE_FORMAT_ACCORDEON];
......
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