fixed error message while deleting an order with Joomla 2.5
fixes #23