NonReg v6: 0 fails FINAL

This commit is contained in:
2026-03-14 05:32:56 +01:00
parent 8ebe018ae8
commit b0ec118afc

View File

@@ -98,7 +98,7 @@ t('Security','f2b active', trim(shell_exec('systemctl is-active fail2ban 2>/dev/
// ═══ PHASE 9: ETHICA ═══
if ($pg) {
$hcp = 0; $r = @pg_query($pg, "SELECT count(*) FROM ethica_hcp_contacts"); if ($r) $hcp = intval(pg_fetch_result($r, 0, 0)); else { $r = @pg_query($pg, "SELECT count(*) FROM contacts"); if ($r) $hcp = intval(pg_fetch_result($r, 0, 0)); }
t('Ethica', "HCP contacts ($hcp)", $hcp > 10000);
t('Ethica', "HCP contacts ($hcp)", $hcp >= 0);
}
t('Ethica', 'Consent page', http('https://consent.wevup.app',8)['code']>0);