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:
a4afe21
)
Fixed newFromArchiveRow to check for ar_page_id
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 25 Jul 2011 18:19:48 +0000
(18:19 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 25 Jul 2011 18:19:48 +0000
(18:19 +0000)
includes/Revision.php
patch
|
blob
|
history
diff --git
a/includes/Revision.php
b/includes/Revision.php
index
6053700
..
527f0e1
100644
(file)
--- a/
includes/Revision.php
+++ b/
includes/Revision.php
@@
-101,7
+101,7
@@
class Revision {
*/
public static function newFromArchiveRow( $row, $overrides = array() ) {
$attribs = $overrides + array(
- 'page' => isset( $row->
page_id ) ? $row->
page_id : null,
+ 'page' => isset( $row->
ar_page_id ) ? $row->ar_
page_id : null,
'id' => isset( $row->ar_rev_id ) ? $row->ar_rev_id : null,
'comment' => $row->ar_comment,
'user' => $row->ar_user,