Skip to content

Commit

Permalink
Merge branch 'hotfix-10.8.10' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Jun 14, 2017
2 parents e8249a4 + 6e32345 commit 9bc843d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/services/presideObjects/PresideObjectService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -2777,7 +2777,8 @@ component displayName="Preside Object Service" {
if ( Len( Trim( formula ) ) ) {
if ( formula.findNoCase( "${prefix}" ) ) {
if ( prefix.len() ) {
prefix &= formula.reFindNoCase( "\$\{prefix\}(\S+)?\." ) ? "$" : ".";
formula = formula.reReplaceNoCase( "\$\{prefix\}(\S+)?\.", "${prefix}$\1.", "all" );
formula = formula.reReplaceNoCase( "\$\{prefix\}([^\$])" , "${prefix}.\1", "all" );
}
formula = formula.replaceNoCase( "${prefix}", prefix, "all" );
}
Expand Down

0 comments on commit 9bc843d

Please sign in to comment.