mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-24 00:13:27 +00:00
Only take one field in fetchFieldValues
That is causing T350726 and we already set the field in one line above Follows-Up: I63ac37c2b73073e8e323f6627785955196cd148c Bug: T350726 Change-Id: I9f28e326aefa206fe8f4d3f6a1038740fed9b0d4
This commit is contained in:
parent
5ffaf34258
commit
9c24383f80
|
@ -489,7 +489,6 @@ class ParserFileProcessingHookHandlers implements
|
||||||
->select( $blTitle )
|
->select( $blTitle )
|
||||||
->tables( $queryInfo['tables'] )
|
->tables( $queryInfo['tables'] )
|
||||||
->joinConds( $queryInfo['joins'] )
|
->joinConds( $queryInfo['joins'] )
|
||||||
->fields( $queryInfo['fields'] )
|
|
||||||
->where( [ 'pl_from' => (int)$id, $blNamespace => NS_FILE ] )
|
->where( [ 'pl_from' => (int)$id, $blNamespace => NS_FILE ] )
|
||||||
->caller( __METHOD__ )->fetchFieldValues();
|
->caller( __METHOD__ )->fetchFieldValues();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue