dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fde32b
)
(bug 32984) ar_sha1 might not be set
author
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 12 Dec 2011 13:11:54 +0000
(13:11 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 12 Dec 2011 13:11:54 +0000
(13:11 +0000)
includes/Revision.php
patch
|
blob
|
history
diff --git
a/includes/Revision.php
b/includes/Revision.php
index
3604b13
..
ae08163
100644
(file)
--- a/
includes/Revision.php
+++ b/
includes/Revision.php
@@
-124,7
+124,7
@@
class Revision {
'text_id' => isset( $row->ar_text_id ) ? $row->ar_text_id : null,
'deleted' => $row->ar_deleted,
'len' => $row->ar_len,
- 'sha1' =>
$row->ar_sha1
+ 'sha1' =>
isset( $row->ar_sha1 ) ? $row->ar_sha1 : null,
);
if ( isset( $row->ar_text ) && !$row->ar_text_id ) {
// Pre-1.5 ar_text row