$item !== '')); } $errorCodesJson = trim((string) ($auditRun['error_codes_json'] ?? '')); $errorCodes = []; if ($errorCodesJson !== '') { $decoded = json_decode($errorCodesJson, true); if (is_array($decoded)) { foreach ($decoded as $code => $count) { $code = trim((string) $code); $count = (int) $count; if ($code === '' || $count <= 0) { continue; } $errorCodes[$code] = $count; } } } arsort($errorCodes); $userLabel = trim((string) ($auditRun['user_display_name'] ?? '')); $userEmail = trim((string) ($auditRun['user_email'] ?? '')); if ($userLabel === '') { $userLabel = $userEmail !== '' ? $userEmail : '-'; } $tenantLabel = trim((string) ($auditRun['current_tenant_description'] ?? '')); if ($tenantLabel === '') { $tenantLabel = '-'; } ?>
t('Home'), 'path' => 'admin'], ['label' => t('Import audit logs'), 'path' => 'admin/import-audit'], ['label' => t('View')], ]; require templatePath('partials/app-breadcrumb.phtml'); $titlebar = [ 'title' => t('View import audit entry'), 'backHref' => 'admin/import-audit', 'backTitle' => t('Back'), ]; require templatePath('partials/app-details-titlebar.phtml'); ?>

0 ? (string) ((int) $auditRun['duration_ms']) : '-'); ?>









$count): ?>