pquery("delete from vtiger_pricebookproductrel where pricebookid=? and productid=?", array($pricebookid, $productid)); } if($_REQUEST['module'] == $_REQUEST['return_module']) $focus->mark_deleted($_REQUEST['record']); $parenttab = getParentTab(); header("Location: index.php?module=".vtlib_purify($_REQUEST['return_module'])."&action=".vtlib_purify($_REQUEST['return_action'])."&record=".vtlib_purify($_REQUEST['return_id'])."&parenttab=$parenttab$url"); ?>