The prevalence of gallstones in chronic liver disease is related to degree of liver dysfunction.