Page MenuHomePhabricator

apifix.diff

Authored By
bzimport
Nov 21 2014, 9:32 PM
Size
605 B
Referenced Files
None
Subscribers
None

apifix.diff

Index: includes/api/ApiQueryRevisions.php
===================================================================
--- includes/api/ApiQueryRevisions.php (revision 22344)
+++ includes/api/ApiQueryRevisions.php (arbetskopia)
@@ -134,7 +134,7 @@
$this->addWhereFld('rev_page', current(array_keys($pageSet->getGoodTitles())));
if(!is_null($user)) {
- $this->addWhere('rev_user_text', $user);
+ $this->addWhere('rev_user_text =' . $this->getDB()->addQuotes($user));
} elseif (!is_null( $excludeuser)) {
$this->addWhere('rev_user_text != ' . $this->getDB()->addQuotes($excludeuser));
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3128
Default Alt Text
apifix.diff (605 B)

Event Timeline