Changeset 359

Show
Ignore:
Timestamp:
10/27/08 14:34:21 (12 years ago)
Author:
beans
Message:

Fixed the missing items...

Files:
1 modified

Legend:

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

    r357 r359  
    4040                $img = IMG_URL.'/blueprints/'.$size.'_'.$size.'/'.$this->row_['itm_externalid'].'.png'; 
    4141        } 
     42        else 
     43        { 
     44                  
     45                // fix for new db structure, just make sure old clients dont break 
     46                if (!strstr($this->row_['itm_icon'], 'icon'))  
     47                { 
     48                        $this->row_['itm_icon'] = 'icon'.$this->row_['itm_icon']; 
     49                } 
     50                $img = IMG_URL.'/items/'.$size.'_'.$size.'/'.$this->row_['itm_icon'].'.png'; 
     51        }   
     52 
    4253         
    4354        if ($size == 24)