Problem/Motivation
Route condition fails eval if no routes are defined. In other words, the "Routes" configuration is totally blank.
Proposed resolution
Change $routes = explode("\n", $routes); to $routes = array_filter(explode("\n", $routes)); to remove empty key values.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3306341-2.patch | 968 bytes | bobooon |
Issue fork route_condition-3306341
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bobooon commentedComment #5
svendecabooterThanks for the fix!