From: <nk...@us...> - 2012-03-27 20:09:45
|
Revision: 40435 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=40435&view=rev Author: nkoth Date: 2012-03-27 20:09:39 +0000 (Tue, 27 Mar 2012) Log Message: ----------- [ROLLBACK]r40431: this is not a good fix -problem needs to be solved at the root, group names should not have leading or training spaces to begin with on creation Revision Links: -------------- http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=40431&view=rev Modified Paths: -------------- trunk/lib/wiki-plugins/wikiplugin_subscribegroups.php Modified: trunk/lib/wiki-plugins/wikiplugin_subscribegroups.php =================================================================== --- trunk/lib/wiki-plugins/wikiplugin_subscribegroups.php 2012-03-27 20:08:49 UTC (rev 40434) +++ trunk/lib/wiki-plugins/wikiplugin_subscribegroups.php 2012-03-27 20:09:39 UTC (rev 40435) @@ -125,11 +125,6 @@ ); } -function trim_value(&$value) -{ - $value = trim($value); -} - function wikiplugin_subscribegroups($data, $params) { global $tiki_p_subscribe_groups, $userlib, $user, $smarty; @@ -152,7 +147,6 @@ if (!empty($including)) { $groups = $userlib->get_including_groups($including); } - array_walk($groups, 'trim_value'); if (!empty($hidelink_including)) { $privategroups = $userlib->get_including_groups($hidelink_including); $smarty->assign('privategroups', $privategroups); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |