Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1031,8 +1031,10 @@ |
1032 | 1032 | $dbw = wfGetDB( DB_MASTER ); |
1033 | 1033 | $res = $dbw->select( 'revision', |
1034 | 1034 | 'rev_user', |
1035 | | - array( 'rev_page' => $this->mArticle->getId(), |
1036 | | - "rev_timestamp > '".$dbw->timestamp($edittime)."'" ), |
| 1035 | + array( |
| 1036 | + 'rev_page' => $this->mArticle->getId(), |
| 1037 | + 'rev_timestamp > '.$dbw->addQuotes( $dbw->timestamp($edittime) ) |
| 1038 | + ), |
1037 | 1039 | __METHOD__, |
1038 | 1040 | array( 'ORDER BY' => 'rev_timestamp ASC', 'LIMIT' => 20 ) ); |
1039 | 1041 | while( $row = $res->fetchObject() ) { |