Changeset 229

Show
Ignore:
Timestamp:
08/01/07 21:03:31 (14 years ago)
Author:
exi
Message:

Fixed a bug in the combat parser which lost killmail ids in the overview.
Fixed a bug in awards which caused the display of the wrong month.

Location:
dev/common
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/common/awards.php

    r213 r229  
    4040} 
    4141 
    42 $monthname = kbdate("F", strtotime("2000-".$month."-1")); 
     42$monthname = kbdate("F", strtotime("2000-".$month."-2")); 
    4343 
    4444$html .= "<div class=block-header2>Awards for ".$monthname." ".$year."</div>"; 
  • dev/common/kill_related.php

    r206 r229  
    222222            { 
    223223                $pilots[$side][$kill->getVictimId()][$id]['destroyed'] = true; 
     224 
     225                if (!isset($pilots[$side][$kill->getVictimId()][$id]['kll_id'])) 
     226                { 
     227                    $pilots[$side][$kill->getVictimId()][$id]['kll_id'] = $kill->getID(); 
     228                } 
    224229                return; 
    225230            }