Changeset 58

Show
Ignore:
Timestamp:
11/07/06 03:21:22 (14 years ago)
Author:
exi
Message:

Fixed "Fatal error: Call to undefined function: getvictimallianceid()" AGAIN

Files:
1 modified

Legend:

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

    r56 r58  
    6464        $this->execQuery(); 
    6565        return $this->victimalliancename_; 
     66    } 
     67 
     68    function getVictimAllianceID() 
     69    { 
     70        $this->execQuery(); 
     71        return $this->victimallianceid_; 
    6672    } 
    6773 
     
    280286            $this->qry_ = new DBQuery(); 
    281287            $this->sql_ = "select kll.kll_id, kll.kll_timestamp, plt.plt_name, 
    282                               crp.crp_name, ali.all_name, kll.kll_ship_id, 
     288                              crp.crp_name, ali.all_name, ali.all_id, kll.kll_ship_id, 
    283289                              kll.kll_system_id, kll.kll_ship_id, 
    284290                              kll.kll_victim_id, plt.plt_externalid, 
     
    309315            $this->setVictimCorpID($row['kll_crp_id']); 
    310316            $this->setVictimCorpName($row['crp_name']); 
     317            $this->setVictimAllianceID($row['all_id']); 
    311318            $this->setVictimAllianceName($row['all_name']); 
    312319            $this->setVictimShip(new Ship($row['kll_ship_id'])); 
     
    754761    } 
    755762} 
    756  
    757763?>