Permalink
Browse files

Merge branch 'hotfix-LXSEC-2012-2'

  • Loading branch information...
2 parents 7b0e5bf + eebe676 commit e6e9d7619256dc8acc2088df655ee06588ab3ad7 Ángel Guzmán Maeso committed Feb 23, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 hypervm/httpdocs/htmllib/htmllib.php
View
5 hypervm/httpdocs/htmllib/htmllib.php
@@ -6993,8 +6993,9 @@ function print_modify($form, $variable, $rowuniqueid, $rowclass, $rowcount)
} else {
if (trim($variable->texttype) != "password") {
$m_value = null;
- if (isset($prevvar[trim($variable->name)])) {
- $m_value = $this->checkForScript($prevvar[trim($variable->name)];
+ $index = trim($variable->name);
+ if (isset($prevvar[$index])) {
+ $m_value = $this->checkForScript($prevvar[$index]);
}
}
}

0 comments on commit e6e9d76

Please sign in to comment.