Changeset 485


Ignore:
Timestamp:
Aug 16, 2004, 11:44:19 PM (20 years ago)
Author:
z0rglub
Message:

bug correction : in case of filesize metadata not registered into database,
it couldn't be calculated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_default.inc.php

    r470 r485  
    100100  // message in title for the thumbnail
    101101  $thumbnail_title = $row['file'];
    102   if ($row['filesize'] == '')
     102  if (!isset($row['filesize']) or $row['filesize'] == '')
    103103  {
    104104    $filesize = floor(filesize($cat_directory.$row['file']) / 1024);
Note: See TracChangeset for help on using the changeset viewer.