Index: trunk/phpwiki/fpw/special_wantedpages.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | $ret = $wikiWantedText ; |
12 | 12 | |
13 | 13 | $connection = getDBconnection () ; |
14 | | - $sql = "SELECT unlinked_to, COUNT( unlinked_from ) AS ulf |
| 14 | + $sql = "SELECT unlinked_to, COUNT( DISTINCT unlinked_from ) AS ulf |
15 | 15 | FROM unlinked |
16 | 16 | GROUP BY unlinked_to |
17 | 17 | ORDER BY ulf DESC |