dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3302c8
)
(bug 38148) Fix E_WARNING in ChangesList.php line 1218
author
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Tue, 3 Jul 2012 17:46:53 +0000
(19:46 +0200)
committer
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Tue, 3 Jul 2012 17:46:53 +0000
(19:46 +0200)
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
patch
|
blob
|
history
diff --git
a/includes/ChangesList.php
b/includes/ChangesList.php
index
da56050
..
dd183d6
100644
(file)
--- 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);