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, 6.1 has been updated
       via  2f38361a388a6f51e93402fee7b76f18c2e4c986 (commit)
      from  008e112613a8844ade55188d2b309ddbe414f21d (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=2f38361a388a6f51e93402fee7b76f18c2e4c986

commit 2f38361a388a6f51e93402fee7b76f18c2e4c986
Author: Franck Villaume <[email protected]>
Date:   Sun Dec 15 18:26:45 2019 +0100

    fix [#910]: add missing parameters in tools project update

diff --git a/src/common/include/Group.class.php 
b/src/common/include/Group.class.php
index a1e0169..5100288 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -510,8 +510,8 @@ class Group extends FFError {
         * @param       string  $tags
         * @param       bool    $use_activity
         * @param       bool    $is_public              group is publicly 
accessible
-        * @param       string  $new_doc_address
-        * @param       bool    $send_all_docs
+        * @param       string  $new_frs_address
+        * @param       bool    $send_all_frs
         * @return      int     status.
         * @access    public
         */
diff --git a/src/www/project/admin/tools.php b/src/www/project/admin/tools.php
index f4f9c54..6484980 100644
--- a/src/www/project/admin/tools.php
+++ b/src/www/project/admin/tools.php
@@ -60,6 +60,8 @@ if (getStringFromRequest('submit')) {
        $tags = getStringFromRequest('form_tags');
        $new_doc_address = getStringFromRequest('new_doc_address');
        $send_all_docs = getStringFromRequest('send_all_docs');
+       $new_frs_address = getStringFromRequest('new_frs_address');
+       $send_all_frs = getStringFromRequest('send_all_frs');
 
        $res = $group->update(
                session_get_user(),
@@ -83,7 +85,9 @@ if (getStringFromRequest('submit')) {
                $use_stats,
                $tags,
                $use_activity,
-               $group->isPublic()
+               $group->isPublic(),
+               $new_frs_address,
+               $send_all_frs
        );
 
        if (!$res) {
@@ -327,6 +331,8 @@ plugin_hook("groupisactivecheckbox",$hookParams);
 
 <input type="hidden" name="new_doc_address" value="<?php echo 
$group->getDocEmailAddress(); ?>" />
 <input type="hidden" name="send_all_docs" value="1" <?php echo 
c($group->docEmailAll()); ?> />
+<input type="hidden" name="new_frs_address" value="<?php echo 
$group->getFRSEmailAddress(); ?>" />
+<input type="hidden" name="send_all_frs" value="1" <?php echo 
c($group->frsEmailAll()); ?> />
 
 <input type="submit" name="submit" value="<?php echo _('Update') ?>" />
 <?php echo $HTML->closeForm(); ?>

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/Group.class.php | 4 ++--
 src/www/project/admin/tools.php    | 8 +++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to