Pārlūkot izejas kodu

fixed error msg if acl is missing

Piotr Labudda 9 gadi atpakaļ
vecāks
revīzija
5d157f7a30
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 	}