We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba64d28 commit 18fffffCopy full SHA for 18fffff
includes/Query.php
@@ -1774,11 +1774,12 @@ private function _notmodifiedby( $option ) {
1774
return;
1775
}
1776
1777
+ $actorID = $this->dbr->addQuotes( $user->getActorId() );
1778
$this->addWhere(
1779
'NOT EXISTS (SELECT 1 FROM ' .
1780
$this->dbr->tableName( 'revision' ) .
1781
' WHERE ' . $this->dbr->tableName( 'revision' ) . '.rev_page = page_id' .
- ' AND ' . $this->dbr->tableName( 'revision' ) . '.rev_actor = ' . $this->dbr->addQuotes( $user->getActorId() ) .
1782
+ ' AND ' . $this->dbr->tableName( 'revision' ) . '.rev_actor = ' . $actorID .
1783
' AND ' . $this->dbr->tableName( 'revision' ) . '.rev_deleted = 0' .
1784
' LIMIT 1)'
1785
);
0 commit comments