Skip to content

Commit 4a49d07

Browse files
committed
Merge pull request apex-enterprise-patterns#120 from monkeyhandz/fix-user-currencyisocode-error
Added the User SOBject to list of Standard objects without the Curren…
2 parents 748caa4 + afda403 commit 4a49d07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fflib/src/classes/fflib_SObjectSelector.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public abstract with sharing class fflib_SObjectSelector
3333
/**
3434
* This overrides the Multi Currency handling, preventing it from injecting the CurrencyIsoCode fie ld for certain System objects that don't ever support it
3535
**/
36-
private static Set<String> STANDARD_WITHOUT_CURRENCYISO = new Set<String> {'ApexClass', 'ApexTrigger', 'AsyncApexJob', 'Attachment', 'RecordType'};
36+
private static Set<String> STANDARD_WITHOUT_CURRENCYISO = new Set<String> {'ApexClass', 'ApexTrigger', 'AsyncApexJob', 'Attachment', 'RecordType', 'User'};
3737

3838
/**
3939
* Should this selector automatically include the FieldSet fields when building queries?
@@ -415,4 +415,4 @@ public abstract with sharing class fflib_SObjectSelector
415415

416416
return queryFactory;
417417
}
418-
}
418+
}

0 commit comments

Comments
 (0)