Add missing variable assignment

Line 41 made use of $crawler which wasn't defined.
bug #3537 Add missing variable assignment (colinodell)

This PR was submitted for the 2.2 branch but it was merged into the 2.3 branch instead (closes #3537).

Discussion
----------

Add missing variable assignment

Line 41 made use of $crawler which wasn't defined.

Commits
-------

8f41c15 Add missing variable assignment