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 e2fa85905c7daffa5dac9cf9f97de07e63bca4e7 (commit)
from adbc823a65e542cfcfbb5f56b15c1678c42b7123 (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=e2fa85905c7daffa5dac9cf9f97de07e63bca4e7
commit e2fa85905c7daffa5dac9cf9f97de07e63bca4e7
Author: Franck Villaume <[email protected]>
Date: Sat Dec 14 17:00:16 2019 +0100
fix PHP warning
diff --git a/src/common/include/utils.php b/src/common/include/utils.php
index 1d8df32..34285d8 100644
--- a/src/common/include/utils.php
+++ b/src/common/include/utils.php
@@ -1189,7 +1189,7 @@ function debug_string_backtrace() {
}
function util_ini_get_bytes($id) {
- $val = trim(ini_get($id));
+ $val = substr(trim(ini_get($id)), 0, -1);
$last = strtolower($val[strlen($val)-1]);
switch ($last) {
case 'g':
-----------------------------------------------------------------------
Summary of changes:
src/common/include/utils.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