summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-05-05 20:25:22 +0200
committerFelix Dörre <felix@dogcraft.de>2015-05-05 20:25:22 +0200
commit2efff443565132f9dc5bf31c72497189b68422ca (patch)
tree48b020d67f67c5d9a61d35078768d230e4496584
parent16cb7044fa31e618f969d6104d976a7bc087e1be (diff)
downloadcacert-devel-bug-1047.tar.gz
cacert-devel-bug-1047.tar.xz
cacert-devel-bug-1047.zip
bug 1047: do not use undefined variable $log for calcing pointsbug-1047
-rw-r--r--includes/notary.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 954029b..da22b4b 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -330,7 +330,7 @@ define('THAWTE_REVOCATION_DATETIME', '2010-11-16 00:00:00');
{
$sum_points = 0;
$sum_experience = 0;
- $res = get_received_assurances(intval($userid), $log);
+ $res = get_received_assurances(intval($userid));
while($row = mysql_fetch_assoc($res))
{
$fromuser = get_user(intval($row['from']));
@@ -347,7 +347,7 @@ define('THAWTE_REVOCATION_DATETIME', '2010-11-16 00:00:00');
{
$sum_points = 0;
$sum_experience = 0;
- $res = get_received_assurances(intval($userid), $log);
+ $res = get_received_assurances(intval($userid));
while($row = mysql_fetch_assoc($res))
{
$fromuser = get_user(intval($row['from']));
@@ -364,7 +364,7 @@ define('THAWTE_REVOCATION_DATETIME', '2010-11-16 00:00:00');
{
$sum_points = 0;
$sum_experience = 0;
- $res = get_received_assurances(intval($userid), $log);
+ $res = get_received_assurances(intval($userid));
while($row = mysql_fetch_assoc($res))
{
$fromuser = get_user(intval($row['from']));