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  b9b6a5a60b240ecc780540ea40f386c536073839 (commit)
      from  476aebf6334cc157a15d68c11ce0e60d57e0a414 (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=b9b6a5a60b240ecc780540ea40f386c536073839

commit b9b6a5a60b240ecc780540ea40f386c536073839
Author: Franck Villaume <[email protected]>
Date:   Sun Nov 6 00:23:46 2016 +0100

    fix missing param

diff --git a/src/www/news/admin/news_admin_utils.php 
b/src/www/news/admin/news_admin_utils.php
index 36bfdd8..33445f9 100644
--- a/src/www/news/admin/news_admin_utils.php
+++ b/src/www/news/admin/news_admin_utils.php
@@ -106,7 +106,7 @@ function show_news_approve_form($qpa_pending, 
$qpa_rejected, $qpa_approved, $for
                echo '<h2>'.sprintf(_('These items were rejected this past week 
or were not intended for front page (total: %d).'), $rows).'</h2>';
                echo $HTML->listTableTop($title_arr);
                for ($i=0; $i<$rows; $i++) {
-                       show_news_item($items[$i], $i, false, false);
+                       show_news_item($items[$i], $i, false, false, $form_url);
                }
                echo $HTML->listTableBottom();
        }
@@ -129,7 +129,7 @@ function show_news_approve_form($qpa_pending, 
$qpa_rejected, $qpa_approved, $for
                echo '<h2>'.sprintf(_('These items were approved this past week 
(total: %d).'), $rows).'</h2>';
                echo $HTML->listTableTop($title_arr);
                for ($i=0; $i < $rows; $i++) {
-                       show_news_item($items[$i], $i, false, false);
+                       show_news_item($items[$i], $i, false, false, $form_url);
                }
                echo $HTML->listTableBottom();
        }

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

Summary of changes:
 src/www/news/admin/news_admin_utils.php | 4 ++--
 1 file changed, 2 insertions(+), 2 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