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 6b84eb941e522e1ab7decfe5b4652fa76d0b6ac2 (commit)
from 4bcfb9749e0dd3751a3e8b68a9b16da2b225d5cc (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=6b84eb941e522e1ab7decfe5b4652fa76d0b6ac2
commit 6b84eb941e522e1ab7decfe5b4652fa76d0b6ac2
Author: Franck Villaume <[email protected]>
Date: Tue Jul 30 19:08:25 2019 +0200
quota management is MiB minimum
diff --git a/src/plugins/quota_management/action/update.php
b/src/plugins/quota_management/action/update.php
index 0963e54..e7a777a 100644
--- a/src/plugins/quota_management/action/update.php
+++ b/src/plugins/quota_management/action/update.php
@@ -41,8 +41,8 @@ $type = getStringFromRequest('type');
$qs = $_POST["qs"] * $_quota_block_size;
$qh = $_POST["qh"] * $_quota_block_size;
-$qds = $_POST["qds"];
-$qdh = $_POST["qdh"];
+$qds = $_POST["qds"] * 1024;
+$qdh = $_POST["qdh"] * 1024;
if ($qs > $qh || $qds > $qdh) {
$error_msg = _('Input error: Hard quota must be greater than soft
quota');
-----------------------------------------------------------------------
Summary of changes:
src/plugins/quota_management/action/update.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits