Commit c11424f2 authored by Guy Thouret's avatar Guy Thouret
Browse files

(fix) Record null value for old contributions score by omitting from INSERT query - #587

parent 3b80c207
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ class Repository
            user_guid,
            metric,
            amount,
            score,
            score_decimal
            ) 
            VALUES (?,?,?,?,?)";
@@ -44,7 +43,6 @@ class Repository
                    new Varint($contribution->getUser()->guid),
                    $contribution->getMetric(),
                    new Varint($contribution->getAmount()),
                    null,
                    new Decimal($contribution->getScore())
                ]
            ];