From: Szymon ƚwierkosz Date: Sat, 31 Mar 2012 15:26:50 +0000 (+0200) Subject: (bug 21796) Fix null dereference on Special:Undelete. X-Git-Tag: 1.31.0-rc.0~24059^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=bfa21200c7f23a0bbc0654bbd8c4138fe03886c0;p=lhc%2Fweb%2Fwiklou.git (bug 21796) Fix null dereference on Special:Undelete. This change allows to display deleted pages correctly without dereferencing a null. It is still impossible to view or undelete a page with an invalid title, so the title is a shown as plain text. Change-Id: Ib82d385eb174dac5e559736920cdb21303291ad2 --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index e8f3df7243..06b578d701 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -745,14 +745,20 @@ class SpecialUndelete extends SpecialPage { $out->addHTML( "\n" );