X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrenderDump.php;h=169f512cfa66a2e42e61b4370cd969b6782a6035;hb=7cb1c09e7e7c8c21a5b431fcd3e5fedf327b0dee;hp=eab5fe7569671a121aba7d4ca84070e292eb748b;hpb=6b7bf092f2fbf65e20a9bc012b522f697cea15a0;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/renderDump.php b/maintenance/renderDump.php index eab5fe7569..169f512cfa 100644 --- a/maintenance/renderDump.php +++ b/maintenance/renderDump.php @@ -78,12 +78,13 @@ class DumpRenderer extends Maintenance { /** * Callback function for each revision, turn into HTML and save - * @param $rev Revision + * @param Revision $rev */ public function handleRevision( $rev ) { $title = $rev->getTitle(); if ( !$title ) { $this->error( "Got bogus revision with null title!" ); + return; } $display = $title->getPrefixedText();