Explorar el Código

upd

station_14109
altob.rd hace 8 años
padre
commit
c17e33b382
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      controllers/Pks.php

+ 1
- 2
controllers/Pks.php Ver fichero

@@ -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));


Cargando…
Cancelar
Guardar