Explorar el Código

fixed error msg if acl is missing

Piotr Labudda hace 9 años
padre
commit
5d157f7a30
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 	}