adjust regex

Co-authored-by: Joerg (DJ7NT) <int2001@users.noreply.github.com>
This commit is contained in:
Fabian Berg
2025-07-20 11:29:13 +02:00
committed by GitHub
parent 6c8ebf4a0e
commit 7cd1b9fba7

View File

@@ -320,7 +320,7 @@ class Lotw extends CI_Controller {
}
}
if (!preg_match('/<!-- \.UPL\.\s+accepted -->/', $result)) {
if (!preg_match('/<!-- \.UPL\.\s*accepted -->/', $result)) {
// Upload of TQ8 Failed for unknown reason
echo $station_profile->station_callsign." (".$station_profile->station_profile_name."): Upload Failed - ".curl_strerror(curl_errno($ch))." (".curl_errno($ch).")<br>";
$this->Lotw_model->last_upload($data['lotw_cert_info']->lotw_cert_id, "Upload failed");