projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a5acc
)
Prefer explode to split
author
Alain Peyrat
<aljeux@free.fr>
Mon, 8 Nov 2010 17:39:40 +0000
(17:39 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Mon, 8 Nov 2010 17:39:40 +0000
(17:39 +0000)
src/common/forum/ForumAdmin.class.php
patch
|
blob
|
history
diff --git
a/src/common/forum/ForumAdmin.class.php
b/src/common/forum/ForumAdmin.class.php
index 7334b4fcfd7d6535e93cbf4d4061bd9a2f3084f5..5d77b0b0c1ed60a01efaf98bef2a2c19b528a7fd 100644
(file)
--- a/
src/common/forum/ForumAdmin.class.php
+++ b/
src/common/forum/ForumAdmin.class.php
@@
-362,7
+362,7
@@
class ForumAdmin extends Error {
$msgids = getStringFromRequest("msgids");//the message ids to update
$doaction = getArrayFromRequest("doaction"); //the actions for the messages
- $msgids =
split
(",",$msgids);
+ $msgids =
explode
(",",$msgids);
array_pop($msgids);//this last one is empty
/*if ($this->isGroupAdmin()) {