Update Qso.php

这个提交包含在:
Peter Goodhall 2022-04-01 16:06:04 +01:00
父节点 9f774c8eac
当前提交 22d5dbdb05

查看文件

@ -460,7 +460,7 @@ class QSO extends CI_Controller {
// Allow 2-digit locator // Allow 2-digit locator
else if (preg_match('/^[A-Ra-r]{2}$/', $grid)) return true; else if (preg_match('/^[A-Ra-r]{2}$/', $grid)) return true;
// Allow 8-digit locator // Allow 8-digit locator
else if (preg_match('/^[A-Ra-r]{2}[0-9]{2}[A-Ra-r]{2}[0-9]{2}$/', $grid)) return true; else if (preg_match('/^[A-Ra-r]{2}[0-9]{2}[A-Za-z]{2}[0-9]{2}$/', $grid)) return true;
else { else {
$this->form_validation->set_message('check_locator', 'Please check value for grid locator ('.strtoupper($grid).').'); $this->form_validation->set_message('check_locator', 'Please check value for grid locator ('.strtoupper($grid).').');
return false; return false;