#77588SQL Error / Check links
Description
It is possible to get a sql-error in EXT:linkvalidator (info module).
Steps to reproduce:- Create an empty, hidden page
- Go to the linkvalidator
- Run check links (select all link types; check level: This page)
- Get exception Doctrine\DBAL\Exception\SyntaxErrorException (master)
Reason:
LinkAnalyzer::getLinkStatistics doesn’t check against an empty $pidList and could generate an invalid sql-query.
Tested in master(8)/7.6/6.2.