Show
Ignore:
Timestamp:
04/05/07 02:52:14 (16 years ago)
Author:
exi
Message:

Attempt to fix various issues with the ContractListTable?-sql summary code.
The raw killmail now shows the time left for classified kills.
Added code to autoupgrade.php to add indexes to kb3_inv_crp and kb3_inv_all.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.killlist.php

    r190 r201  
    314314    { 
    315315        $this->inv_plt_[] = $pilot->getID(); 
    316         if ($this->inv_crp_ || $this->inv_all_) 
     316        if (count($this->inv_crp_) || count($this->inv_all_)) 
    317317            $this->mixedinvolved_ = true; 
    318318    } 
     
    321321    { 
    322322        $this->inv_crp_[] = $corp->getID(); 
    323         if ($this->inv_plt_ || $this->inv_all_) 
     323        if (count($this->inv_plt_) || count($this->inv_all_)) 
    324324            $this->mixedinvolved_ = true; 
    325325    } 
     
    328328    { 
    329329        $this->inv_all_[] = $alliance->getID(); 
    330         if ($this->inv_plt_ || $this->inv_crp_) 
     330        if (count($this->inv_plt_) || count($this->inv_crp_)) 
    331331            $this->mixedinvolved_ = true; 
    332332    } 
     
    335335    { 
    336336        $this->vic_plt_[] = $pilot->getID(); 
    337         if ($this->vic_crp_ || $this->vic_all_) 
     337        if (count($this->vic_crp_) || count($this->vic_all_)) 
    338338            $this->mixedvictims_ = true; 
    339339    } 
     
    342342    { 
    343343        $this->vic_crp_[] = $corp->getID(); 
    344         if ($this->vic_plt_ || $this->vic_all_) 
     344        if (count($this->vic_plt_) || count($this->vic_all_)) 
    345345            $this->mixedvictims_ = true; 
    346346    } 
     
    349349    { 
    350350        $this->vic_all_[] = $alliance->getID(); 
    351         if ($this->vic_plt_ || $this->vic_crp_) 
     351        if (count($this->vic_plt_) || count($this->vic_crp_)) 
    352352            $this->mixedvictims_ = true; 
    353353    }