[Fusionforge-commits] r10393 - in trunk/src: common/include www/project/admin
Franck VILLAUME
nerville at libremir.placard.fr.eu.org
Thu Sep 2 16:12:49 CEST 2010
Author: nerville
Date: 2010-09-02 16:12:49 +0200 (Thu, 02 Sep 2010)
New Revision: 10393
Modified:
trunk/src/common/include/Group.class.php
trunk/src/www/project/admin/tools.php
Log:
fix deprecated & warning
Modified: trunk/src/common/include/Group.class.php
===================================================================
--- trunk/src/common/include/Group.class.php 2010-09-02 13:08:36 UTC (rev 10392)
+++ trunk/src/common/include/Group.class.php 2010-09-02 14:12:49 UTC (rev 10393)
@@ -1347,7 +1347,7 @@
return false;
}
$inserted = array();
- $tags_array = split('[;,]', $tags);
+ $tags_array = explode('[;,]', $tags);
foreach ($tags_array as $tag) {
$tag = stripslashes($tag);
$tag = preg_replace('/[\t\r\n]/', ' ', $tag);
Modified: trunk/src/www/project/admin/tools.php
===================================================================
--- trunk/src/www/project/admin/tools.php 2010-09-02 13:08:36 UTC (rev 10392)
+++ trunk/src/www/project/admin/tools.php 2010-09-02 14:12:49 UTC (rev 10393)
@@ -4,22 +4,22 @@
*
* Portions Copyright 1999-2001 (c) VA Linux Systems
* The rest Copyright 2002-2004 (c) GForge Team
- * http://gforge.org/
+ * http://fusionforge.org/
*
- * This file is part of GForge.
+ * This file is part of FusionForge.
*
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
@@ -85,9 +85,9 @@
//100 $logo_image_id
if (!$res) {
- $feedback .= $group->getErrorMessage();
+ $feedback = $group->getErrorMessage();
} else {
- $feedback .= _('Project information updated');
+ $feedback = _('Project information updated');
}
// This is done so plugins can enable/disable themselves from the project
More information about the Fusionforge-commits
mailing list