summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-04-14 21:35:22 +0200
committerFelix Dörre <felix@dogcraft.de>2015-04-14 21:35:22 +0200
commit01faa352ccbd433989a07e8b40daed6f1d49de97 (patch)
treef7cf3a9be159f993898d95ebda4878a130b805e6
parent345eb2e771f6475e243f406fe37c41933a520c11 (diff)
downloadcacert-devel-01faa352ccbd433989a07e8b40daed6f1d49de97.tar.gz
cacert-devel-01faa352ccbd433989a07e8b40daed6f1d49de97.tar.xz
cacert-devel-01faa352ccbd433989a07e8b40daed6f1d49de97.zip
UPD: new points calculation in CommModule/client.pl
-rwxr-xr-xCommModule/client.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommModule/client.pl b/CommModule/client.pl
index 0874477..a36bad0 100755
--- a/CommModule/client.pl
+++ b/CommModule/client.pl
@@ -441,7 +441,7 @@ sub calculateDays($)
{
if($_[0])
{
- my @sum = $dbh->selectrow_array("select sum(`points`) as `total` from `notary` where `to`='".$_[0]."' and `deleted`=0 group by `to`");
+ my @sum = $dbh->selectrow_array("select sum(`awarded`) as `total` from `notary` where `to`='".$_[0]."' and `deleted`=0 group by `to`");
SysLog("Summe: $sum[0]\n") if($debug);
return ($sum[0]>=50)?730:180;