From: Chad Horohoe Date: Mon, 12 Dec 2011 13:11:54 +0000 (+0000) Subject: (bug 32984) ar_sha1 might not be set X-Git-Tag: 1.31.0-rc.0~26050 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=3ce2ffe40524a837054c45790088fb2404f050e1;p=lhc%2Fweb%2Fwiklou.git (bug 32984) ar_sha1 might not be set --- diff --git a/includes/Revision.php b/includes/Revision.php index 3604b13541..ae081634d7 100644 --- 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