Show
Ignore:
Timestamp:
01/09/07 21:22:39 (14 years ago)
Author:
exi
Message:

Added a prermr killmail preparser to the parser.
Changed item class so it doesnt break the mail when there is no item type for the item in the database.
Fixed 2 alliance logos.
Fixed kill_detail.tpl, the slot icons didnt use the imageurl.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.kill.php

    r165 r174  
    686686            $item = $dest->getItem(); 
    687687            $loc_id = $dest->getLocationID(); 
    688             if (!$item->getID() || !$dest->getQuantity() || !is_numeric($loc_id)) 
    689             { 
     688            if (!is_numeric($item->getID()) || !is_numeric($item->getID()) || !is_numeric($dest->getQuantity()) || !is_numeric($loc_id)) 
     689            { 
     690                trigger_error('error with destroyed item.', E_USER_WARNING); 
     691                var_dump($dest);exit; 
    690692                continue; 
    691693            } 
     
    730732class InvolvedParty 
    731733{ 
    732     function InvolvedParty($pilotid, $corpid, $allianceid, 
    733         $secstatus, $ship, $weapon) 
     734    function InvolvedParty($pilotid, $corpid, $allianceid, $secstatus, $ship, $weapon) 
    734735    { 
    735736        $this->pilotid_ = $pilotid;