Changeset 6600


Ignore:
Timestamp:
06/24/10 20:49:48 (9 years ago)
Author:
nikrou
Message:

Bug 1739 fixed : Recent pictures page returns database error
merge from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/admin/element_set.php

    r6364 r6600  
    196196  $query = 'SELECT MAX(date_available) AS date 
    197197  FROM '.IMAGES_TABLE; 
    198   if ($row = pwg_db_fetch_assoc( pwg_query($query) ) ) 
     198  $row = pwg_db_fetch_assoc(pwg_query($query)); 
     199  if (!empty($row['date'])) 
    199200  { 
    200201    $query = 'SELECT id 
Note: See TracChangeset for help on using the changeset viewer.