aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--donators.inc.php8
-rw-r--r--en/thank-you/index.php2
2 files changed, 5 insertions, 5 deletions
diff --git a/donators.inc.php b/donators.inc.php
index 2f0bb1e1e..fbc7bc476 100644
--- a/donators.inc.php
+++ b/donators.inc.php
@@ -4,9 +4,9 @@
/**
*/
-$anonymous = 15;
+$anonymous = '15';
$donators = array(
- 'Anonymous (x $anonymous)',
+ 'Anonymous (x '.$anonymous.')',
'Pascal Vilarem (MaĆ¢t)',
'Vicente Salvador Cubedo',
'Samuel Verschelde (Stormi)',
@@ -300,9 +300,9 @@ $orgs = array(
*
* @return string
*/
-function html_donators_list($donators)
+function html_donators_list($donators,$anonymous)
{
- $count_donators = count($donators)+$anonymous;
+ $count_donators = count($donators)+$anonymous-1; // -1 because 'anonymous' is count 1 more time in 'donators()'
//$donators = array_unique($donators);
sort($donators);
diff --git a/en/thank-you/index.php b/en/thank-you/index.php
index c7ea351da..8a0a2d0ab 100644
--- a/en/thank-you/index.php
+++ b/en/thank-you/index.php
@@ -26,7 +26,7 @@
<p>It would not have either, without help and donation from many people and organizations.
This page is here to remind of their contribution to this project.</p>
- <?php echo html_donators_list($donators); ?>
+ <?php echo html_donators_list($donators,$anonymous); ?>
<p>Great places and teams that welcomed us and offerred us some tea, coffee, seats and advice
(mostly in Paris for now):</p>