Skip to content
Snippets Groups Projects
Commit 7287b2d1 authored by llaffont's avatar llaffont
Browse files

Fix -> need tests

parent 5e35d2f8
Branches
Tags
No related merge requests found
......@@ -47,7 +47,9 @@ class ZendAfi_View_Helper_Accueil_MenuVertical extends ZendAfi_View_Helper_Accue
? explode(Class_Systeme_ModulesMenu::MENU_CONFIG_PROFIL_SEPARATOR, $menu)
: [Class_Profil::getCurrentProfil()->getId(), $menu];
$profil = Class_profil::find($id_profil);
if (!$profil = Class_profil::find($id_profil))
$profil = Class_Profil::getCurrentProfil();
$this->_cls_menu = new Class_Systeme_ModulesMenu();
$this->_li_style = sprintf('style="margin-left:20px;%s"',
$menu_deplie ? "" : "display:none");
......
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