Skip to content

Commit

Permalink
Fixed issue #11772: Expression manager convert_value does not obey st…
Browse files Browse the repository at this point in the history
…rict setting
  • Loading branch information
olleharstedt committed Oct 12, 2016
1 parent b66df55 commit 60338d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_core_helper.php
Expand Up @@ -2707,7 +2707,7 @@ function exprmgr_convert_value($fValueToReplace, $iStrict, $sTranslateFromList,
$iNearestIndex = $i;
}
}
if ( $iStrict !== 1 ) {
if ( $iStrict != 1 ) {
return $aToValues[$iNearestIndex];
}
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/expressions/em_javascript.js
Expand Up @@ -254,7 +254,7 @@ function LEMconvert_value( fValueToReplace, iStrict, sTranslateFromList, sTransl
iNearestIndex = i;
}
}
if ( iStrict !== 1 ) {
if ( iStrict != 1 ) {
return aToValues[iNearestIndex];
}
}
Expand Down

0 comments on commit 60338d8

Please sign in to comment.