Index: branches/5.3.x/units/order_items/order_items_tag_processor.php =================================================================== diff -u -N -r15671 -r15695 --- branches/5.3.x/units/order_items/order_items_tag_processor.php (.../order_items_tag_processor.php) (revision 15671) +++ branches/5.3.x/units/order_items/order_items_tag_processor.php (.../order_items_tag_processor.php) (revision 15695) @@ -1,6 +1,6 @@ GetDBField('InventoryStatus') == 2) { - $poc_table = $this->Application->getUnitOption('poc', 'TableName'); + $poc_table = $this->Application->getUnitConfig('poc')->getTableName(); $sql = 'SELECT QtyInStock FROM '.$poc_table.' WHERE (ProductId = '.$object->GetDBField('ProductId').') AND (Availability = 1) AND (CombinationCRC = '.$object->GetDBField('OptionsSalt').')'; @@ -209,7 +209,7 @@ function PrintList($params) { $list =& $this->GetList($params); - $id_field = $this->Application->getUnitOption($this->Prefix, 'IDField'); + $id_field = $this->getUnitConfig()->getIDField(); $list->Query(); $o = '';