From bfa21200c7f23a0bbc0654bbd8c4138fe03886c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Szymon=20=C5=9Awierkosz?= Date: Sat, 31 Mar 2012 17:26:50 +0200 Subject: [PATCH] (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 --- includes/specials/SpecialUndelete.php | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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" ); -- 2.20.1