[Fusionforge-commits] r8620 - trunk/gforge/www/forum/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Dec 22 21:02:42 CET 2009


Author: aljeux
Date: 2009-12-22 21:02:42 +0100 (Tue, 22 Dec 2009)
New Revision: 8620

Modified:
   trunk/gforge/www/forum/include/AttachManager.class.php
Log:
Tracker: Remove the "No file was provided" message

Modified: trunk/gforge/www/forum/include/AttachManager.class.php
===================================================================
--- trunk/gforge/www/forum/include/AttachManager.class.php	2009-12-22 20:02:36 UTC (rev 8619)
+++ trunk/gforge/www/forum/include/AttachManager.class.php	2009-12-22 20:02:42 UTC (rev 8620)
@@ -136,7 +136,7 @@
 			$attachid = db_result($res,0,'attachmentid');
 		}
 		if ($attachid) {
-			$attach = "
+			$attach = "<br/>
 			<a href=\"javascript:manageattachments('".util_make_url("/forum/attachment.php?attachid=$attachid&group_id=$group_id&forum_id=$forum_id$pend")."','no');\">" . html_image('ic/cfolder15.png',"15","13",array("border"=>"0")) . db_result($res,0,'filename') . "</a>  (" . db_result($res,0,'counter') . ") downloads";
 			$attach_userid = db_result($res,0,'userid');
 			
@@ -221,7 +221,6 @@
 			
 		if ($attachment == 'none' OR empty($attachment) OR empty($attachment_name))
 		{
-			$this->messages[] = _('No file was provided');
 			return false; //no point in continuing if there's no file
 		}
 		




More information about the Fusionforge-commits mailing list