From 5f15807c82a6f4a9f9cb14182231d89b2d7f8bb3 Mon Sep 17 00:00:00 2001 From: Robert Treat Date: Sat, 13 Jul 2019 12:24:30 -0400 Subject: [PATCH] Fix pass by reference warnings in index creation. --- indexes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indexes.php b/indexes.php index 5c6ebdbf..59ac499e 100644 --- a/indexes.php +++ b/indexes.php @@ -91,7 +91,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(); } } -- 2.39.5