summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbdmc <bdmc@buadh-brath.com>2018-11-02 14:01:29 -0400
committerbdmc <bdmc@buadh-brath.com>2018-11-02 14:01:29 -0400
commitf5e17afc3540eccaaee33324b0b06b38003592c5 (patch)
tree9637dba0b1f6a090dc7061a5df2bdd422a307600
parentc8394a5ea808141d425b950738a5378c11b9bb2a (diff)
downloadcacert-devel-f5e17afc3540eccaaee33324b0b06b38003592c5.tar.gz
cacert-devel-f5e17afc3540eccaaee33324b0b06b38003592c5.tar.xz
cacert-devel-f5e17afc3540eccaaee33324b0b06b38003592c5.zip
Changed each() into foreach()
-rw-r--r--www/coap.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/coap.html.php b/www/coap.html.php
index fdc186e..61c38c9 100644
--- a/www/coap.html.php
+++ b/www/coap.html.php
@@ -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";