From 5b01c0c8674a982d987493cf4220884b873a2678 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 3 Jul 2012 19:46:53 +0200 Subject: [PATCH] (bug 38148) Fix E_WARNING in ChangesList.php line 1218 The error is PHP Warning: explode() expects parameter 2 to be string, array given in includes/ChangesList.php on line 1218. The problem is that $classes is always an array, so no need to explode() it. Change-Id: I6917273aecc6b9ddbf377e69ecbd343ee25fa8ef --- includes/ChangesList.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/ChangesList.php b/includes/ChangesList.php index da5605076e..dd183d646a 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -1215,7 +1215,6 @@ class EnhancedChangesList extends ChangesList { } # Tags - $classes = explode( ' ', $classes ); $this->insertTags( $r, $rcObj, $classes ); # Show how many people are watching this if enabled $r .= $this->numberofWatchingusers($rcObj->numberofWatchingusers); -- 2.20.1