for (vari=order.length;i>-1;i--)//we do this backwards because otherwiese we would run into problems when trying to build the sum (we could have items without an price yet)
for (vari=order.length;i>-1;i--)//we do this backwards because otherwiese we would run into problems when trying to build the sum (we could have items without an price yet)
{
if(sumUpPrices.hasOwnProperty(order[i]))
{
...
...
@@ -784,12 +783,12 @@ ItemUtils.sumUpPricesWhenInserting = function (pStatements, pCorrectOrder, pTree