fixed getBrokenLinksTo(), inserted incorrect entries into link cache causing Special:Undelete to fail with a DB error
This commit is contained in:
parent
87e6a24dcb
commit
9737bc2c08
1 changed files with 1 additions and 1 deletions
|
|
@ -779,7 +779,7 @@ class Title {
|
|||
if ( wfNumRows( $res ) ) {
|
||||
while ( $row = wfFetchObject( $res ) ) {
|
||||
$titleObj = Title::makeTitle( $row->cur_namespace, $row->cur_title );
|
||||
$wgLinkCache->addGoodLink( $titleObj->getPrefixedDBkey(), $row->cur_id );
|
||||
$wgLinkCache->addGoodLink( $row->cur_id, $titleObj->getPrefixedDBkey() );
|
||||
$retVal[] = $titleObj;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue