Author: jfthomps
Date: Tue Feb 28 16:57:58 2017
New Revision: 1784783
URL: http://svn.apache.org/viewvc?rev=1784783&view=rev
Log:
modified selectAuth: explicitly defined $methods as an array to clear a php
warning message
Modified:
vcl/trunk/web/.ht-inc/authentication.php
Modified: vcl/trunk/web/.ht-inc/authentication.php
URL:
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/authentication.php?rev=1784783&r1=1784782&r2=1784783&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/authentication.php (original)
+++ vcl/trunk/web/.ht-inc/authentication.php Tue Feb 28 16:57:58 2017
@@ -160,6 +160,7 @@ function selectAuth() {
print i("Please select an authentication method to use:") .
"<br><br>\n";
if(strlen($authtype))
print "<font color=red>" . i("Selected method failed, please
try again") . "</font><br>\n";
+ $methods = array();
foreach(array_keys($authMechs) as $mech)
$methods["$mech"] = $mech;
print "<FORM action=\"" . BASEURL . SCRIPT . "\" method=post
name=loginform>\n";