Doh forgot the ";" at the end of echo
这个提交包含在:
父节点
235c977040
当前提交
f3e927317c
共有 1 个文件被更改,包括 12 次插入 和 12 次删除
|
|
@ -842,18 +842,18 @@ class Lotw extends CI_Controller {
|
||||||
*/
|
*/
|
||||||
function lotw_usercheck($callsign) {
|
function lotw_usercheck($callsign) {
|
||||||
$f = fopen('./updates/lotw_users.csv', "r");
|
$f = fopen('./updates/lotw_users.csv', "r");
|
||||||
$result = false;
|
$result = false;
|
||||||
while ($row = fgetcsv($f)) {
|
while ($row = fgetcsv($f)) {
|
||||||
if ($row[0] == strtoupper($callsign)) {
|
if ($row[0] == strtoupper($callsign)) {
|
||||||
$result = $row[0];
|
$result = $row[0];
|
||||||
echo "Found";
|
echo "Found";
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
echo "Not Found"
|
echo "Not Found";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose($f);
|
fclose($f);
|
||||||
}
|
}
|
||||||
|
|
||||||
function signlog($sign_key, $string) {
|
function signlog($sign_key, $string) {
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用