From: Robert Treat Date: Sat, 13 Jul 2019 16:24:30 +0000 (-0400) Subject: Fix pass by reference warnings in index creation. X-Git-Tag: REL_7-12-1~32 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=5f15807c82a6f4a9f9cb14182231d89b2d7f8bb3;p=phppgadmin.git Fix pass by reference warnings in index creation. --- 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(); } }