Ver Fonte

fixed bug in ACL::getRefTable

Piotr Labudda há 8 anos atrás
pai
commit
c46605531b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      SE/se-lib/ACL.php

+ 1 - 1
SE/se-lib/ACL.php

@@ -235,7 +235,7 @@ class ACL {
 
 		$refConfig = RefConfig::getRefConfig($rootObjectNamespace, $childName);
 		$cacheRefTables[$cacheKey] = $refConfig->tableName;
-		return $refTableName;
+		return $cacheRefTables[$cacheKey];
 	}
 	public static function getRefSource($rootObjectNamespace, $childName) { // CRM_REF_CONFIG
 		$rootObjectNamespace = ACL::getBaseNamespace($rootObjectNamespace);