[Fusionforge-commits] FusionForge branch master updated. 1601e0333ae5308836c9056969088f05cf327e1a

Franck VILLAUME nerville at fusionforge.org
Sun Feb 9 13:32:44 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  1601e0333ae5308836c9056969088f05cf327e1a (commit)
      from  285a2055529b8b105f2d4d570e7b426292304047 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1601e0333ae5308836c9056969088f05cf327e1a
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Feb 9 13:31:10 2014 +0100

    frs: fix upload check

diff --git a/src/www/frs/admin/editrelease.php b/src/www/frs/admin/editrelease.php
index bd6ba4d..4c7ddf8 100644
--- a/src/www/frs/admin/editrelease.php
+++ b/src/www/frs/admin/editrelease.php
@@ -152,7 +152,8 @@ if (getStringFromRequest('step2')) {
 
 	$ret = frs_add_file_from_form ($frsr, $type_id, $processor_id, $release_date,
 				       $userfile, $ftp_filename, $manual_filename) ;
-	if ($ret == true) {
+
+	if ($ret === true) {
 		$feedback = _('File Released') ;
 	} else {
 		$error_msg .= $ret ;

-----------------------------------------------------------------------

Summary of changes:
 src/www/frs/admin/editrelease.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list