Skip to content

Commit 18fffff

Browse files
Universal-Omegaharnash
authored andcommitted
Fix PHPCS
1 parent ba64d28 commit 18fffff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

includes/Query.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,11 +1774,12 @@ private function _notmodifiedby( $option ) {
17741774
return;
17751775
}
17761776

1777+
$actorID = $this->dbr->addQuotes( $user->getActorId() );
17771778
$this->addWhere(
17781779
'NOT EXISTS (SELECT 1 FROM ' .
17791780
$this->dbr->tableName( 'revision' ) .
17801781
' WHERE ' . $this->dbr->tableName( 'revision' ) . '.rev_page = page_id' .
1781-
' AND ' . $this->dbr->tableName( 'revision' ) . '.rev_actor = ' . $this->dbr->addQuotes( $user->getActorId() ) .
1782+
' AND ' . $this->dbr->tableName( 'revision' ) . '.rev_actor = ' . $actorID .
17821783
' AND ' . $this->dbr->tableName( 'revision' ) . '.rev_deleted = 0' .
17831784
' LIMIT 1)'
17841785
);

0 commit comments

Comments
 (0)