diff --git a/modules/turnero/api/create_turno.php b/modules/turnero/api/create_turno.php index 5534892..0de00d4 100644 --- a/modules/turnero/api/create_turno.php +++ b/modules/turnero/api/create_turno.php @@ -156,6 +156,8 @@ try { // Solo generar enlace si el modo es 'link' (embebido no usa WA) if (($formRow['formulario_modo'] ?? 'link') === 'link') { $baseUrl = defined('BASE_URL') ? rtrim(BASE_URL, '/') : ''; + // Forzar HTTPS: Android WhatsApp CCT bloquea páginas HTTP + $baseUrl = preg_replace('#^http://#', 'https://', $baseUrl); $enlaceConsentimiento = $baseUrl . '/ver_formulario_enviado.php?token=' . urlencode($conToken); } } diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index 93c1bf2..0ec079b 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -677,6 +677,12 @@ function _addExamWizardHtml(string $cid): string {
+ + Abrir en navegador +