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 30cbfab9c1dd9d19cc33a1e31f198730502f1e92 (commit)
from ec520cd1a4a4ccfb733a4c7513c81a94ff6ea1b4 (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=30cbfab9c1dd9d19cc33a1e31f198730502f1e92
commit 30cbfab9c1dd9d19cc33a1e31f198730502f1e92
Author: Franck Villaume <[email protected]>
Date: Fri May 21 12:47:20 2021 +0200
rtrim return value must be used
diff --git a/src/cronjobs/shell/homedirs.php b/src/cronjobs/shell/homedirs.php
index 061fd05..9fb3b5c 100755
--- a/src/cronjobs/shell/homedirs.php
+++ b/src/cronjobs/shell/homedirs.php
@@ -85,7 +85,7 @@ if (!($hpfx = forge_get_config('homedir_prefix'))) {
// this should be set in configuration
exit();
}
-rtrim($hpfx, '/');
+$hpfx = rtrim($hpfx, '/');
if (!is_dir($hpfx)) {
@mkdir($hpfx, 0755, true);
-----------------------------------------------------------------------
Summary of changes:
src/cronjobs/shell/homedirs.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