Explorar o código

fixed bug in ACL::getRefTable

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
c46605531b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);