Update Qso.php
这个提交包含在:
父节点
9f774c8eac
当前提交
22d5dbdb05
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -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;
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用