summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Treat2020-10-07 04:30:51 +0000
committerRobert Treat2020-10-07 04:32:19 +0000
commita818cca6bfe15128615381bd7dcf5999f216b913 (patch)
tree21bec4d4efc664e096d85a50bd729a1d18ad0bb7
parent1316faf059e3d313cb24ee069584e58ab4ac009f (diff)
Clean up pass by ref warnings in constraints tab
-rw-r--r--constraints.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/constraints.php b/constraints.php
index cc1591c9..dcc3e94e 100644
--- a/constraints.php
+++ b/constraints.php
@@ -55,7 +55,8 @@
if ($attrs->recordCount() > 0) {
while (!$attrs->EOF) {
- $selColumns->add(new XHTML_Option($attrs->fields['attname']));
+ $XHTML_Option = new XHTML_Option($attrs->fields['attname']);
+ $selColumns->add($XHTML_Option);
$attrs->moveNext();
}
}
@@ -158,7 +159,8 @@
if ($attrs->recordCount() > 0) {
while (!$attrs->EOF) {
- $selColumns->add(new XHTML_Option($attrs->fields['attname']));
+ $XHTML_Option = new XHTML_Option($attrs->fields['attname']);
+ $selColumns->add($XHTML_Option);
$attrs->moveNext();
}
}
@@ -251,7 +253,8 @@
if ($attrs->recordCount() > 0) {
while (!$attrs->EOF) {
- $selColumns->add(new XHTML_Option($attrs->fields['attname']));
+ $XHTML_Option = new XHTML_Option($attrs->fields['attname']);
+ $selColumns->add($XHTML_Option);
$attrs->moveNext();
}
}