summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-15 01:07:21 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-15 01:07:21 +0200
commitb63a8d83041a6b8e4517198eb5cd999ac1fe35dd (patch)
tree7c2208fde5f45bd42c34e6213273f2ac970b1c67
parentb0964eb61c823edfb000e7d4a4d57b1d22d4f67f (diff)
downloadcacert-devel-b63a8d83041a6b8e4517198eb5cd999ac1fe35dd.tar.gz
cacert-devel-b63a8d83041a6b8e4517198eb5cd999ac1fe35dd.tar.xz
cacert-devel-b63a8d83041a6b8e4517198eb5cd999ac1fe35dd.zip
bug 1221: remove redundant line
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--includes/notary.inc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index f155d25..7d8a3f0 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -425,8 +425,6 @@
function calc_points($row)
{
$awarded = intval($row['awarded']);
- if ($awarded == "")
- $awarded = 0;
if (intval($row['points']) < $awarded)
$points = $awarded; // if 'sum of added points' > 100, awarded shows correct value
else