Explorar o código

Arreglo bug con namespace webApp::ROLE_ADMIN en menu.php

Gabriel Badano %!s(int64=3) %!d(string=hai) anos
pai
achega
830e95d813
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      protected/views/_includes/menu.php

+ 1 - 1
protected/views/_includes/menu.php

@@ -52,7 +52,7 @@ $cuenta = $this->webApp()->getCuenta();
 
                 <?php $this->renderBusinessInclude('menu');?>
 
-                <?php if ($this->webApp()->getRole() == webApp::ROLE_ADMIN) { ?>
+                <?php if ($this->webApp()->getRole() == oxusmedia\webApp\webApp::ROLE_ADMIN) { ?>
                     <li>
                         <a href="usuario"><i class="fa fa-users fa-fw"></i> <span>Usuarios</span></a>
                     </li>