bugfix for view orders
Merge pull request #470 from RoanKanninga/master

bugfix for view orders