Changeset 1809
- Timestamp:
- 05/03/07 13:02:03 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/branches/franck-desktop/bureau/class/m_bro.php
r1804 r1809 210 210 $ext=$t[count($t)-1]; 211 211 // 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"; 216 216 } 217 217 } … … 235 235 $ext=$t[count($t)-1]; 236 236 // Now seek the extension 237 if (! $bro_type[$ext]) {237 if (!isset($bro_type[$ext])) { 238 238 return _("File"); 239 239 } else {
