From 894de88cfbafd197763c4d24305911d70c0065d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 3 Oct 2011 03:35:18 +0000 Subject: [PATCH] Followup r97138 - could not reproduce myself --- includes/logging/LogFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index 40cedbc399..40f8783a28 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -378,7 +378,7 @@ class DeleteLogFormatter extends LogFormatter { if ( in_array( $subtype, array( 'event', 'revision' ) ) ) { if ( ($subtype === 'event' && count( $params ) === 6 ) || - ($subtype === 'revision' && $params[3] === 'revision' ) + ($subtype === 'revision' && isset( $params[3] ) && $params[3] === 'revision' ) ) { $paramStart = $subtype === 'revision' ? 4 : 3; -- 2.20.1