Index: branches/wmf/1.18wmf1/includes/api/ApiQuerySearch.php |
— | — | @@ -126,6 +126,7 @@ |
127 | 127 | |
128 | 128 | // Silently skip broken and missing titles |
129 | 129 | if ( $result->isBrokenTitle() || $result->isMissingRevision() ) { |
| 130 | + $result = $matches->next(); |
130 | 131 | continue; |
131 | 132 | } |
132 | 133 | |