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 bbd01d22223dc5642a22b8fca4bc089412f42acd (commit)
from 78f3bde71a97d002e7d5594fcd6e93261bf7ad3e (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=bbd01d22223dc5642a22b8fca4bc089412f42acd
commit bbd01d22223dc5642a22b8fca4bc089412f42acd
Author: Franck Villaume <[email protected]>
Date: Sat Dec 14 17:48:22 2019 +0100
fix PHP warning
diff --git a/src/plugins/quota_management/view/quota_project.php
b/src/plugins/quota_management/view/quota_project.php
index 4209f30..1c266f7 100644
--- a/src/plugins/quota_management/view/quota_project.php
+++ b/src/plugins/quota_management/view/quota_project.php
@@ -136,7 +136,7 @@ plugin_hook_by_reference('quota_display_db', $quotas);
$quotas_disk = array();
// disk_total_space
-$_quota_block_size = trim(shell_exec('echo $BLOCK_SIZE')) + 0;
+$_quota_block_size = intval(trim(shell_exec('echo $BLOCK_SIZE'))) + 0;
if ($_quota_block_size == 0) $_quota_block_size = 1024;
$quota_soft = "";
$quota_hard = "";
-----------------------------------------------------------------------
Summary of changes:
src/plugins/quota_management/view/quota_project.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits