Changeset 1809

Show
Ignore:
Timestamp:
05/03/07 13:02:03 (1 year ago)
Author:
franck
Message:

Petite erreur lors de la demande du type mime et du fichier icone associe

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/branches/franck-desktop/bureau/class/m_bro.php

    r1804 r1809  
    210210      $ext=$t[count($t)-1]; 
    211211    // Now seek the extension 
    212     if (!$bro_icon[$ext]) { 
    213         return "file.png"; 
    214     } else { 
    215         return $bro_icon[$ext].".png"; 
     212    if (!isset($bro_icon[$ext])) { 
     213                       return "file.png"; 
     214    } else { 
     215                       return $bro_icon[$ext].".png"; 
    216216    } 
    217217  } 
     
    235235      $ext=$t[count($t)-1]; 
    236236    // Now seek the extension 
    237     if (!$bro_type[$ext]) { 
     237    if (!isset($bro_type[$ext])) { 
    238238        return _("File"); 
    239239    } else {