Changed each() into foreach()
authorbdmc <bdmc@buadh-brath.com>
Fri, 2 Nov 2018 18:01:29 +0000 (14:01 -0400)
committerbdmc <bdmc@buadh-brath.com>
Fri, 2 Nov 2018 18:01:29 +0000 (14:01 -0400)
www/coap.html.php

index fdc186e..61c38c9 100644 (file)
@@ -329,7 +329,7 @@ table#TAB1 td { border: 0 }
                'http://svn.cacert.org/CAcert/Policies/OrganisationAssurancePolicy/OrganizationAssuranceSubPolicyUnitedStates.html',
        );
        $cnt = 0;
-       while( list($key, $ref) = each($policies) ) {
+       foreach( $policies as $key => $ref ) {
            $cnt++;
            if( $cnt < 2 ) {
                echo '<p><dd>'. _("Applicable Organisation Policy documents and information can be attached to the pdf output file. Mark those documents, which need to be attached") . ":<br>\n";