Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removing deprecated code

  • Loading branch information...
commit 26f1f8176b9af04ea16730e53a2fd468836e94db 1 parent d145710
@acidvertigo acidvertigo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  catalog/install/includes/functions/html_output.php
View
2  catalog/install/includes/functions/html_output.php
@@ -12,7 +12,7 @@
function osc_draw_input_field($name, $value = null, $parameters = null, $override = true, $type = 'text') {
$field = '<input type="' . $type . '" name="' . $name . '" id="' . $name . '"';
- if ( ($key = $GLOBALS[$name]) || ($key = $GLOBALS['HTTP_GET_VARS'][$name]) || ($key = $GLOBALS['HTTP_POST_VARS'][$name]) || ($key = $GLOBALS['HTTP_SESSION_VARS'][$name]) && ($override) ) {
+ if ( ($key = $GLOBALS[$name]) || ($key = $GLOBALS['_GET'][$name]) || ($key = $GLOBALS['_POST'][$name]) || ($key = $GLOBALS['_SESSION'][$name]) && ($override) ) {
$field .= ' value="' . $key . '"';
} elseif ($value != '') {
$field .= ' value="' . $value . '"';
Please sign in to comment.
Something went wrong with that request. Please try again.