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 504d69ca0679b3da70babf1ddefde7d061a4aa58 (commit)
from dbea4f585f61998cf17d70d2a7287e5559773d02 (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=504d69ca0679b3da70babf1ddefde7d061a4aa58
commit 504d69ca0679b3da70babf1ddefde7d061a4aa58
Author: Franck Villaume <[email protected]>
Date: Sun Nov 22 18:23:06 2015 +0100
docman: set default value for dirid rather than testing it
diff --git a/src/www/docman/index.php b/src/www/docman/index.php
index e17c7c6..985437f 100644
--- a/src/www/docman/index.php
+++ b/src/www/docman/index.php
@@ -62,9 +62,7 @@ if (!$g->usesDocman())
if ($g->isError())
exit_error($g->getErrorMessage(), 'docman');
-$dirid = getIntFromRequest('dirid');
-if (empty($dirid))
- $dirid = 0;
+$dirid = getIntFromRequest('dirid', 0);
$childgroup_id = getIntFromRequest('childgroup_id');
-----------------------------------------------------------------------
Summary of changes:
src/www/docman/index.php | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits