소스 검색

fixed error msg if acl is missing

Piotr Labudda 9 년 전
부모
커밋
5d157f7a30
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SE/se-lib/Core/AclHelper.php

+ 1 - 1
SE/se-lib/Core/AclHelper.php

@@ -50,7 +50,7 @@ class Core_AclHelper {// Helper class for Acl
     $ns = self::parseNamespaceUrl($namespace);
 
     $acl = User::getAcl()->getObjectAcl($ns['prefix'], $ns['name']);
-    if (!$acl) throw new Exception("Could not get acl for '{$schemaNs}'");
+    if (!$acl) throw new Exception("Could not get acl for '{$ns['prefix']}:{$ns['name']}'");
     $acl->init($forceTblAclInit);
     return $acl;
 	}