Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3049
diff.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:20 PM
2014-11-21 21:20:48 (UTC+0)
Size
439 B
Referenced Files
None
Subscribers
None
diff.txt
View Options
--- phase3.orig/includes/SpecialRevisiondelete.php Mon Sep 4 21:07:04 2006
+++ phase3/includes/SpecialRevisiondelete.php Fri Sep 8 15:22:42 2006
@@ -208,6 +208,9 @@
* @param int $bitfield new rev_deleted bitfield value
*/
function updateRevision( $rev, $bitfield ) {
+ if( $rev == null ) {
+ return false;
+ }
$this->db->update( 'revision',
array( 'rev_deleted' => $bitfield ),
array( 'rev_id' => $rev->getId() ),
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2619
Default Alt Text
diff.txt (439 B)
Attached To
Mode
T8887: PHP error for call to getId() on bad input to Special:Revisiondelete
Attached
Detach File
Event Timeline
Log In to Comment