From: John Du Hart Date: Fri, 21 Oct 2011 20:24:03 +0000 (+0000) Subject: Followup r100396, use is_string instead of !is_array X-Git-Tag: 1.31.0-rc.0~26970 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=f31602e62138d0a01069f78579bb3e86215cacc0;p=lhc%2Fweb%2Fwiklou.git Followup r100396, use is_string instead of !is_array --- 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 ); }