소스 검색

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

Gabriel Badano 3 년 전
부모
커밋
830e95d813
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>