diff options
author | Phil Davis <phil.davis@inf.org> | 2017-02-06 14:43:06 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-02-06 08:20:49 -0200 |
commit | 85ba2f8ba350ccd6485caefe2ce389f0d74044aa (patch) | |
tree | 86dfabeda6d87c759c0c60c1f56b57dae59bc55a /src/usr/local/www/classes | |
parent | 67bc9afc96a32954c84d1b504085ac97dc5a14ef (diff) | |
download | pfsense-85ba2f8ba350ccd6485caefe2ce389f0d74044aa.zip pfsense-85ba2f8ba350ccd6485caefe2ce389f0d74044aa.tar.gz |
Use unique var names in Input.class.php
(cherry picked from commit a66177645191359e5ce854d733e9be40ada3535b)
Diffstat (limited to 'src/usr/local/www/classes')
-rw-r--r-- | src/usr/local/www/classes/Form/Input.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/classes/Form/Input.class.php b/src/usr/local/www/classes/Form/Input.class.php index a4ceea1..c04e898 100644 --- a/src/usr/local/www/classes/Form/Input.class.php +++ b/src/usr/local/www/classes/Form/Input.class.php @@ -92,8 +92,8 @@ class Form_Input extends Form_Element if (isset($value)) $this->_attributes['value'] = $value; - foreach ($attributes as $name => $value) - $this->_attributes[$name] = $value; + foreach ($attributes as $attr_name => $attr_value) + $this->_attributes[$attr_name] = $attr_value; } public function getTitle() |