From f31602e62138d0a01069f78579bb3e86215cacc0 Mon Sep 17 00:00:00 2001 From: John Du Hart Date: Fri, 21 Oct 2011 20:24:03 +0000 Subject: [PATCH] Followup r100396, use is_string instead of !is_array --- 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 3904a9bc52..93497c673b 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -36,7 +36,7 @@ class LogFormatter { $handler = $wgLogActionsHandlers[$wildcard]; } - if ( $handler !== '' && !is_array( $handler ) && class_exists( $handler ) ) { + if ( $handler !== '' && is_string( $handler ) && class_exists( $handler ) ) { return new $handler( $entry ); } -- 2.20.1