magento/bugathon_march_2013 — pull request #237 by fmarangi (2013-03-10 10:24:21+00:00)
Title: #234: Remove int cast in isOrderIncrementIdUsed

Cast to int in the method isOrderIncrementIdUsed in resource model sales/quote is causing problems when using alphanumeric prefixes or increment models. Int cast is inconsistent too, since the column type this is checked against is varchar(50). The cast to int was replaced with a cast to string to solve this.