summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRobert Treat2014-03-02 06:08:01 +0000
committerRobert Treat2017-10-30 22:31:50 +0000
commit767f3f746238fdcb14e12dae4bc15839b49b51c6 (patch)
tree42226ca570ab2ca7a2f34ac0e08f9d7880b8bb95 /classes
parent7785cfcccb55653029cec2900163b6de0be95e3e (diff)
minor cleanup; be consistent in lowercasing PHP keywords
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/Gui.php2
-rwxr-xr-xclasses/database/Postgres.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/Gui.php b/classes/Gui.php
index e0c085bb..6d0fe215 100755
--- a/classes/Gui.php
+++ b/classes/Gui.php
@@ -30,7 +30,7 @@
if ($bBlankEntry)
$htmlOut .= "<option value=\"\"></option>\n";
- foreach ($arrOptions AS $curKey => $curVal) {
+ foreach ($arrOptions as $curKey => $curVal) {
$curVal = htmlspecialchars($curVal);
$curKey = htmlspecialchars($curKey);
if ($curVal == $szDefault) {
diff --git a/classes/database/Postgres.php b/classes/database/Postgres.php
index 1d72db0e..1df71e32 100755
--- a/classes/database/Postgres.php
+++ b/classes/database/Postgres.php
@@ -2408,7 +2408,7 @@ class Postgres extends ADODB_base {
'relname' => $_autovacs->fields['relname']
);
- foreach (explode(',', $_autovacs->fields['reloptions']) AS $var) {
+ foreach (explode(',', $_autovacs->fields['reloptions']) as $var) {
list($o, $v) = explode('=', $var);
$_[$o] = $v;
}