浏览代码

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;
 	}