summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-02-06 14:43:06 +0545
committerRenato Botelho <renato@netgate.com>2017-02-06 08:20:49 -0200
commit85ba2f8ba350ccd6485caefe2ce389f0d74044aa (patch)
tree86dfabeda6d87c759c0c60c1f56b57dae59bc55a /src/usr
parent67bc9afc96a32954c84d1b504085ac97dc5a14ef (diff)
downloadpfsense-85ba2f8ba350ccd6485caefe2ce389f0d74044aa.zip
pfsense-85ba2f8ba350ccd6485caefe2ce389f0d74044aa.tar.gz
Use unique var names in Input.class.php
(cherry picked from commit a66177645191359e5ce854d733e9be40ada3535b)
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/classes/Form/Input.class.php4
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()
OpenPOWER on IntegriCloud