瀏覽代碼

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>