Update xrouting.plugin.php

Fixed "Warning: Invalid argument supplied for foreach()" error