Strange, right, very strange.
But really, if html_output has the original code of function tep_href_link, everthing is ok. And if I change to the code of the Ultimate SEO URLs contributions, the orders_id is not stored in orders_total, orders_products and orders_status_history. May that be connected to session handling??!?
Kind regards,
Tobias Berben