mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 08:40:29 +00:00
VRS: Fix NPE in queryTrips().
This commit is contained in:
parent
d4acb0cce5
commit
458fea99ac
1 changed files with 1 additions and 1 deletions
|
@ -697,7 +697,7 @@ public class VrsProvider extends AbstractNetworkProvider {
|
|||
}
|
||||
url.addQueryParameter(dep ? "d" : "a", formatDate(date));
|
||||
url.addQueryParameter("s", "t");
|
||||
if (!products.equals(Product.ALL))
|
||||
if (products != null && !products.equals(Product.ALL))
|
||||
url.addQueryParameter("p", generateProducts(products));
|
||||
url.addQueryParameter("o", "v" + (EXACT_POINTS ? "p" : ""));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue