PrestaShop/PrestaShop — pull request #1367 by PhpMadman (2014-02-07 10:37:46+00:00)
Title: [-] BO : Linked order id should not have lead 0's

Either this, or change to getUniqueReference