Merge "Move disable of preference 'enotifminoredits'"
[lhc/web/wiklou.git] / includes / api / ApiQueryPrefixSearch.php
index dcb8ada..d04796c 100644 (file)
@@ -80,7 +80,7 @@ class ApiQueryPrefixSearch extends ApiQueryGeneratorBase {
                                if ( $title->isSpecialPage() ) {
                                        $vals['special'] = true;
                                } else {
-                                       $vals['pageid'] = intval( $title->getArticleId() );
+                                       $vals['pageid'] = intval( $title->getArticleID() );
                                }
                                $fit = $result->addValue( [ 'query', $this->getModuleName() ], null, $vals );
                                if ( !$fit ) {