[Fusionforge-commits] r12688 - branches/Branch_5_1/src/common/forum
Alain Peyrat
aljeux at fusionforge.org
Fri Mar 11 18:09:26 CET 2011
Author: aljeux
Date: 2011-03-11 18:09:26 +0100 (Fri, 11 Mar 2011)
New Revision: 12688
Modified:
branches/Branch_5_1/src/common/forum/AttachManager.class.php
branches/Branch_5_1/src/common/forum/ForumAdmin.class.php
Log:
Fix PHP warnings (var unset)
Modified: branches/Branch_5_1/src/common/forum/AttachManager.class.php
===================================================================
--- branches/Branch_5_1/src/common/forum/AttachManager.class.php 2011-03-11 17:09:17 UTC (rev 12687)
+++ branches/Branch_5_1/src/common/forum/AttachManager.class.php 2011-03-11 17:09:26 UTC (rev 12688)
@@ -5,7 +5,7 @@
*
* Copyright 1999-2001 (c) VA Linux Systems
* The rest Copyright 2002-2005 (c) GForge Team
- * Copyright (C) 2010 Alain Peyrat - Alcatel-Lucent
+ * Copyright (C) 2010-2011 Alain Peyrat - Alcatel-Lucent
* http://fusionforge.org/
*
*
@@ -131,6 +131,7 @@
$pend = "";
}
+ $attach = '';
$attachid = '';
if ($res && db_numrows($res)) {
$attachid = db_result($res,0,'attachmentid');
Modified: branches/Branch_5_1/src/common/forum/ForumAdmin.class.php
===================================================================
--- branches/Branch_5_1/src/common/forum/ForumAdmin.class.php 2011-03-11 17:09:17 UTC (rev 12687)
+++ branches/Branch_5_1/src/common/forum/ForumAdmin.class.php 2011-03-11 17:09:26 UTC (rev 12688)
@@ -155,6 +155,7 @@
function ExecuteAction ($action) {
global $HTML;
+ $feedback='';
if ($action == "change_status") { //change a forum
$forum_name = getStringFromRequest('forum_name');
$description = getStringFromRequest('description');
More information about the Fusionforge-commits
mailing list