Index: trunk/globals.php =================================================================== diff -u -N -r4446 -r4596 --- trunk/globals.php (.../globals.php) (revision 4446) +++ trunk/globals.php (.../globals.php) (revision 4596) @@ -1695,6 +1695,12 @@ $main =& $GLOBALS[$prefix.'_var_list']; $update =& $GLOBALS[$prefix.'_var_list_update']; + // if part of env found in POST, then use it first + $submit_value = GetVar($prefix.'_'.$name); + if ($submit_value !== false) { + return $submit_value; + } + return isset($update[$name]) ? $update[$name] : ( isset($main[$name]) ? $main[$name] : ''); }