Index: branches/5.3.x/units/orders/order_calculator.php =================================================================== diff -u -N -r15492 -r15695 --- branches/5.3.x/units/orders/order_calculator.php (.../order_calculator.php) (revision 15492) +++ branches/5.3.x/units/orders/order_calculator.php (.../order_calculator.php) (revision 15695) @@ -1,6 +1,6 @@ Application->getUnitOption('poc', 'TableName'); + $poc_table = $this->Application->getUnitConfig('poc')->getTableName(); $query = ' SELECT oi.ProductId, oi.OptionsSalt, oi.ItemData, oi.Quantity, IF(p.InventoryStatus = ' . ProductInventory::BY_OPTIONS . ', poc.QtyInStock, p.QtyInStock) AS QtyInStock,