[Fusionforge-commits] r9024 - trunk/gforge/www/forum

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Mar 10 22:37:56 CET 2010


Author: aljeux
Date: 2010-03-10 22:37:56 +0100 (Wed, 10 Mar 2010)
New Revision: 9024

Modified:
   trunk/gforge/www/forum/forum.php
Log:
Fix missing feedback in forum

Modified: trunk/gforge/www/forum/forum.php
===================================================================
--- trunk/gforge/www/forum/forum.php	2010-03-10 21:37:51 UTC (rev 9023)
+++ trunk/gforge/www/forum/forum.php	2010-03-10 21:37:56 UTC (rev 9024)
@@ -33,6 +33,7 @@
 $offset = getIntFromRequest('offset');
 $max_rows = getIntFromRequest('max_rows');
 $set = getStringFromRequest('set');
+$feedback = htmlspecialchars(getStringFromRequest('feedback'));
 
 if ($forum_id) {
 
@@ -85,14 +86,14 @@
 
 		$sanitizer = new TextSanitizer();
 		$body = $sanitizer->SanitizeHtml($body);
-		
+
 		$attach = getUploadedFile("attachment1");
 		if ($attach['size']) {
 			$has_attach = true;
 		} else {
 			$has_attach = false;
 		}
-		
+
 		if (!$fm->create($subject, $body, $thread_id, $is_followup_to,$has_attach) || $fm->isError()) {
 			form_release_key(getStringFromRequest("form_key"));
 			exit_error(_('Error'),_('Error creating ForumMessage: ').$fm->getErrorMessage());




More information about the Fusionforge-commits mailing list