Show
Ignore:
Timestamp:
12/31/07 09:54:25 (15 years ago)
Author:
ralle030583
Message:

- ADD a DB update via autoupgrade.php to fix some slot probs

with some item groups / items

- FIX an error in item->getSlot so always numeric values are given
back and not an empty blank

Files:
1 modified

Legend:

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

    r254 r306  
    3535    function getTechLevel() 
    3636    { 
    37         $this->execQuery(); 
    38         return $this->row_['shp_techlevel']; 
     37        if (!$this->shiptechlevel_) $this->execQuery(); 
     38        return $this->shiptechlevel_; 
    3939    } 
    4040