Ver Fonte

fixed error msg if acl is missing

Piotr Labudda há 9 anos atrás
pai
commit
5d157f7a30
1 ficheiros alterados com 1 adições e 1 exclusões
  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;
 	}