Browse Source

upd

station_14109
altob.rd 8 years ago
parent
commit
c17e33b382
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      controllers/Pks.php

+ 1
- 2
controllers/Pks.php View File

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


Loading…
Cancel
Save