mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:17:03 +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:
@ -43,7 +43,7 @@ class ModelAuditAudit extends Model {
|
||||
if(Registry::get('admin_user') == 0 && RESTRICTED_AUDITOR == 1) {
|
||||
$auditdomains = $session->get("auditdomains");
|
||||
|
||||
while(list($k, $v) = each($auditdomains)) {
|
||||
foreach($auditdomains as $k => $v) {
|
||||
if($q) { $q .= ","; }
|
||||
$q .= "?";
|
||||
array_push($arr, $v);
|
||||
|
Reference in New Issue
Block a user