mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:37:02 +02:00
Replaced most each() calls with foreach() in preparation to support php 8
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -123,7 +123,7 @@
|
||||
<tr>
|
||||
<th colspan="2"><?php print $text_message_disposition; ?></th>
|
||||
</tr>
|
||||
<?php while(list($k, $v) = each($health['counters'])) {
|
||||
<?php foreach($health['counters'] as $k => $v) {
|
||||
if(!is_numeric($k)) { ?>
|
||||
<tr>
|
||||
<td><?php $a = preg_replace("/^_piler\:/", "", $k); if(isset($$a)) { print $$a; } else { print $k; } ?></td>
|
||||
|
Reference in New Issue
Block a user