X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWantedfiles.php;h=f52f7bb9bdf049c8d83d4d2eaeac65caa5b3ebab;hb=5787cbc7d7aad5336522e21afa58953b6a7faecd;hp=247518914722eb0393e7cc16fe133d465bf5a5f5;hpb=dbb2b3e66442ca1daf23b0aebe86f88a1f5d1320;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWantedfiles.php b/includes/specials/SpecialWantedfiles.php index 2475189147..f52f7bb9bd 100644 --- a/includes/specials/SpecialWantedfiles.php +++ b/includes/specials/SpecialWantedfiles.php @@ -75,9 +75,9 @@ class WantedFilesPage extends WantedQueryPage { function getQueryInfo() { return array ( 'tables' => array ( 'imagelinks', 'image' ), - 'fields' => array ( "'" . NS_FILE . "' AS namespace", - 'il_to AS title', - 'COUNT(*) AS value' ), + 'fields' => array ( 'namespace' => NS_FILE, + 'title' => 'il_to', + 'value' => 'COUNT(*)' ), 'conds' => array ( 'img_name IS NULL' ), 'options' => array ( 'GROUP BY' => 'il_to' ), 'join_conds' => array ( 'image' =>