Update xrouting.plugin.php
Merge pull request #11 from benjamindean/master

fix "Warning: Invalid argument supplied for foreach()"