Skip to content

Commit ee2ac7e

Browse files
committed
fixes #463 ...again
1 parent 3e52b94 commit ee2ac7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sfdx-source/apex-common/main/classes/fflib_SObjectDescribe.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public class fflib_SObjectDescribe {
108108
}
109109
else if ( fieldName.endsWithIgnoreCase('__pr') ) //resolve custom field cross-object (__pr) syntax for person accounts
110110
{
111-
fieldNameAdjusted = fieldName.removeEndIgnoreCase('__pr') + '__c';
111+
fieldNameAdjusted = fieldName.removeEndIgnoreCase('__pr') + '__pc';
112112
}
113113

114114
Schema.SObjectField result = wrappedFields.get( fieldNameAdjusted, implyNamespace );

0 commit comments

Comments
 (0)