Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3561
apifix.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:32 PM
2014-11-21 21:32:11 (UTC+0)
Size
605 B
Referenced Files
None
Subscribers
None
apifix.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3128
Default Alt Text
apifix.diff (605 B)
Attached To
Mode
T10772: Parameter to limit results to revisions made by a particular user, when querying revisions for a page
Attached
Detach File
Event Timeline
Log In to Comment