bug 1177: Make the support parameter optional
authorBenny Baumann <BenBE@geshi.org>
Tue, 23 Jul 2013 21:07:41 +0000 (23:07 +0200)
committerBenny Baumann <BenBE@geshi.org>
Tue, 23 Jul 2013 21:07:41 +0000 (23:07 +0200)
includes/notary.inc.php

index a093088..1f34738 100644 (file)
                return $issue_points;
        }
 
-       function output_given_assurances($userid,$support)
+       function output_given_assurances($userid,$support=0)
        {
                output_assurances_header(_("Assurance Points You Issued"),$support);
                output_given_assurances_content($userid,$points,$sum_experience,$support);
                output_assurances_footer(_("Total Points Issued"),$points,_("Total Experience Points"),$sum_experience,$support);
        }
 
-       function output_received_assurances($userid,$support)
+       function output_received_assurances($userid,$support=0)
        {
                output_assurances_header(_("Your Assurance Points"),$support);
                output_received_assurances_content($userid,$points,$sum_experience,$support);