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.item.php

    r301 r306  
    7979            $qry->execute($query); 
    8080            $row = $qry->getRow(); 
     81             
     82                if (!$row['itt_slot']) 
     83                        return 0; 
     84                         
    8185            return $row['itt_slot']; 
    8286        }