bug 1221: remove redundant line
authorMichael Tänzer <neo@nhng.de>
Mon, 14 Apr 2014 23:07:21 +0000 (01:07 +0200)
committerMichael Tänzer <neo@nhng.de>
Mon, 14 Apr 2014 23:07:21 +0000 (01:07 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
includes/notary.inc.php

index f155d25..7d8a3f0 100644 (file)
        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