Hi devs,
According to my research I couldn't find any place where the variable $selected is set which is used in sql.php. Also this variable is used to check indexes if indexes should be checked in sql.lib.php. I am not sure about what is meant by checking an index. But since $selected seems to be not initialized this code will never run. I would like to know your opinion on this issue.

regards supun.