EVE-SECURE / evedev-kb

Automatically exported from code.google.com/p/evedev-kb
0 stars 0 forks source link

Total isk loss is not updated on "calculateIskLoss" #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
File: class.kill.php
Function: calculateISKLoss (~Line 928)

kb3_kills.kll_isk_loss is not updated.

Should probably do something like:
if($update)
{
    $qry = DBFactory::getDBQuery();
    $qry->execute("UPDATE kb3_kills SET kll_isk_loss = '$value' WHERE 
kll_id = '".$this->id_."'");
}

/Beanie

Original issue reported on code.google.com by niels%ns...@gtempaccount.com on 16 Apr 2010 at 9:26

GoogleCodeExporter commented 9 years ago
There was originally a reason for this but since the related code has changed 
anyway 
this makes sense. I'll also update kill_detail to use this function rather than 
changing the db directly.

Original comment by kovellia on 17 Apr 2010 at 3:13

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r637.

Original comment by kovellia on 17 Apr 2010 at 3:13