Permalink
Browse files

removing deprecated code

  • Loading branch information...
1 parent d145710 commit 26f1f8176b9af04ea16730e53a2fd468836e94db @acidvertigo acidvertigo committed Jan 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 . '"';

0 comments on commit 26f1f81

Please sign in to comment.