We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 104f545 commit 0162987Copy full SHA for 0162987
laravel/app/Http/Controllers/Bus/IndexController.php
@@ -107,7 +107,7 @@ private function getNewList($line)
107
*/
108
private function getOldList($line)
109
{
110
- return BusRepository::getInstent()->getList($line);
+ return BusRepository::getInstent()->getListV2($line);
111
}
112
113
/**
@@ -137,7 +137,7 @@ public function busLine(Request $request)
137
$parseUrl = parse_url($post['href']);
138
$query = $parseUrl['query'] ?? '';
139
parse_str($query, $params);
140
- $post['cid'] = $params['cid'];
+ $post['cid'] = $params['cid'] ?? '';
141
$aspUrl = $parseUrl['path'] ?? 'APTSLine.aspx';
142
143
unset($post['href']);
0 commit comments