Internal apical resorption and its correlation with the type of apical lesion.