Changeset 374 for dev/common/includes/class.kill.php
- Timestamp:
- 06/14/09 14:06:02 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.kill.php
r370 r374 851 851 if ( $this->timestamp_ == "" || !$this->victimid_ || !$this->victimship_->getID() || !$this->solarsystem_->getID() || 852 852 !$this->victimallianceid_ || !$this->victimcorpid_ || !$this->getFBAllianceID() || !$this->getFBCorpID() || 853 !$this->getFBPilotID() ) 854 return 0; 853 !$this->getFBPilotID() ) return 0; 855 854 if ($id == null) 856 855 { … … 868 867 $qry = new DBQuery(); 869 868 $sql = "INSERT INTO kb3_kills 870 (kll_id , kll_timestamp , kll_victim_id , kll_all_id , kll_crp_id , kll_ship_id , kll_system_id , kll_fb_plt_id , kll_points , kll_dmgtaken, kll_ isk_loss)869 (kll_id , kll_timestamp , kll_victim_id , kll_all_id , kll_crp_id , kll_ship_id , kll_system_id , kll_fb_plt_id , kll_points , kll_dmgtaken, kll_external_id, kll_isk_loss) 871 870 VALUES (".$qid.", 872 871 date_format('".$this->timestamp_."', '%Y.%m.%d %H:%i:%s'), … … 879 878 ".$this->calculateKillPoints().", 880 879 ".$this->dmgtaken.", 880 NULL, 881 881 ".$this->calculateISKLoss()." )"; 882 882 $qry->autocommit(false);