summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-07-23 23:07:41 +0200
committerBenny Baumann <BenBE@geshi.org>2013-07-23 23:07:41 +0200
commite53c73724150e6b267d3d734ba81f4d76888049f (patch)
tree3f6166029e4dbc49949c247b90d488f91a177efd /includes
parent6c35d5a0b72cff19e1773ae5d79bc0d9ec42c95e (diff)
downloadcacert-devel-e53c73724150e6b267d3d734ba81f4d76888049f.tar.gz
cacert-devel-e53c73724150e6b267d3d734ba81f4d76888049f.tar.xz
cacert-devel-e53c73724150e6b267d3d734ba81f4d76888049f.zip
bug 1177: Make the support parameter optional
Diffstat (limited to 'includes')
-rw-r--r--includes/notary.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index a093088..1f34738 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -591,14 +591,14 @@
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);