HomeCode
Diffusion Zed 651d7f6e0123

Fixed Travel::try_parse_rewrite_rule notices/warning

Description

Fixed Travel::try_parse_rewrite_rule notices/warning

Notices and warning wer thrown when Travel::try_parse_rewrite_rule
received as $from argument a place with no specific rule defined in
travel.xml travel rules file.

The method now checks we have any relevant potential rule and
returns immediately false if it's not the case.

Details

Provenance
derecksonAuthored on
Parents
rZED823e9f10a908: Cleaning extra whitespaces
Branches
Unknown
Tags
Unknown