r100447 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r100446
|
r100447
|
r100448
>
Date:
20:24, 21 October 2011
Author:
johnduhart
Status:
ok
Tags:
Comment:
Followup
r100396
, use is_string instead of !is_array
Modified paths:
/trunk/phase3/includes/logging/LogFormatter.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/logging/LogFormatter.php
—
—
@@ -36,7 +36,7 @@
37
37
$handler = $wgLogActionsHandlers[$wildcard];
38
38
}
39
39
40
- if ( $handler !== '' && !is_array( $handler ) && class_exists( $handler ) ) {
40
+ if ( $handler !== '' && is_string( $handler ) && class_exists( $handler ) ) {
41
41
return new $handler( $entry );
42
42
}
43
43
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r100396
Bugfix to
r96441
, class_exists throws warnings when arrays are passed to it
johnduhart
00:09, 21 October 2011
Status & tagging log
17:46, 22 October 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r100447
[
removed:
new
added:
ok]