[Fusionforge-commits] FusionForge branch master updated. b5f545f0634acaa395d0972f9254b244621f0bcb

Franck VILLAUME nerville at fusionforge.org
Fri Jun 7 17:18:39 CEST 2013


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  b5f545f0634acaa395d0972f9254b244621f0bcb (commit)
      from  4d7ad5a4b2d86668fc670c3ef558aebf3b1a8fe9 (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 b5f545f0634acaa395d0972f9254b244621f0bcb
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Jun 7 17:12:38 2013 +0200

    utils: fix util_get_maxuploadfilesize function

diff --git a/src/common/include/utils.php b/src/common/include/utils.php
index 7f6e170..63bad6c 100644
--- a/src/common/include/utils.php
+++ b/src/common/include/utils.php
@@ -1463,7 +1463,7 @@ function util_get_maxuploadfilesize() {
 
 	$postfile = (int)(($postmax * 3) / 4);
 
-	if ($postfile < $maxfile)
+	if ($postfile > $maxfile)
 		$postfile = $maxfile;
 
 	return $postfile;

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

Summary of changes:
 src/common/include/utils.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list