瀏覽代碼

upd

station_14109
altob.rd 8 年之前
父節點
當前提交
c17e33b382
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      controllers/Pks.php

+ 1
- 2
controllers/Pks.php 查看文件

@@ -201,9 +201,8 @@ class Pks extends CI_Controller
$parms = $this->uri->uri_to_assoc(3);
// 調整 pksno 為 pks 格式
if (strpos($test_string, 'B') !== false) {
if (strpos($test_string, 'B') !== false)
$parms['pksno'] = '9' . intval(preg_replace('/[^0-9\-]/', '', $test_string)); // 地下 B
}
else
$parms['pksno'] = intval(preg_replace('/[^0-9\-]/', '', $test_string));


Loading…
取消
儲存