Skip to content

Fix in handling of multiple oyster cards #2

Merged
merged 1 commit into from Mar 26, 2012

2 participants

@daibach
daibach commented Mar 26, 2012

Where an oyster profile contains multiple oyster cards, a php error occurs as $cardNumber is currently undefined.

$cardNumber should contain the card number provided in the config files (and held locally as $this->card).

Alternatively instances of $cardNumber here could just be replaced with $this->card.

@daibach daibach Fix to use oyster card number provided in config
Where multiple oyster cards exist, a php error occurs as $cardNumber is undefined. $cardNumber should contain the card number provided in the config files (and held locally as $this->card).
d8fec19
@jwheare jwheare merged commit 303716b into jwheare:master Mar 26, 2012
@jwheare
Owner
jwheare commented Mar 26, 2012

Thanks, obviously still not tested this stuff…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.