diff --git a/debug_turno_wa.php b/debug_turno_wa.php index 64801f1..43af832 100644 --- a/debug_turno_wa.php +++ b/debug_turno_wa.php @@ -146,8 +146,8 @@ if ($hoyTurnos) { $testToken = 'DEBUG-TEST-' . time(); $ins = $pdo->prepare( "INSERT IGNORE INTO turnero_consentimientos - (turno_id, formulario_id, token, estado, creado_at) - VALUES (?, ?, ?, 'pendiente', NOW())" + (turno_id, formulario_id, token, estado) + VALUES (?, ?, ?, 'pendiente')" ); $ins->execute([$turnoTest['id'], $formTest['id'], $testToken]); if ($ins->rowCount()) {