diff --git a/libraries/config/FormDisplay.class.php b/libraries/config/FormDisplay.class.php index 41c421fb4..9e84075c1 100644 --- a/libraries/config/FormDisplay.class.php +++ b/libraries/config/FormDisplay.class.php @@ -468,7 +468,7 @@ class FormDisplay // (allows to skip 0 == 'string' equalling to true) or identity (for string-string) if (($vk == $value && !(is_numeric($value_cmp) xor is_numeric($vk))) || $vk === $value) { - settype($value, gettype($v)); + settype($value, gettype($vk)); return true; } }