diff --git a/include/utils/InventoryUtils.php b/include/utils/InventoryUtils.php index ffe1677480b841a075fd7dfab5ca00c21d85b8c0..b3b6216b772917cca86a6a603f140e645f7c9651 100644 --- a/include/utils/InventoryUtils.php +++ b/include/utils/InventoryUtils.php @@ -261,7 +261,7 @@ function getAllTaxes($available='all', $sh='',$mode='',$id='') if($sh != '' && $sh == 'sh') { $tablename = 'vtiger_shippingtaxinfo'; $value_table='vtiger_inventoryshippingrel'; - if($mode == 'edit' && id != '') { + if($mode == 'edit' && $id != '') { $sql = "SELECT * FROM $tablename WHERE deleted=0"; $result = $adb->pquery($sql, array()); $noofrows=$adb->num_rows($result);