Correcting slight mistake in r32413
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 25 Mar 2008 15:36:05 +0000 (15:36 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 25 Mar 2008 15:36:05 +0000 (15:36 +0000)
includes/api/ApiQueryInfo.php

index 93a69d2..672e218 100644 (file)
@@ -237,7 +237,7 @@ class ApiQueryInfo extends ApiQueryBase {
 
                // Get edit/protect tokens and protection data for missing titles if requested
                // Delete and move tokens are N/A for missing titles anyway
-               if($tok_edit || $tok_protect || $fld_protection)
+               if($tok_edit || $tok_protect || $fld_protection || $fld_talkid || $fld_subjectid)
                {
                        $res = &$result->getData();
                        foreach($missing as $pageid => $title) {