Changeset 1867 for trunk/tools


Ignore:
Timestamp:
Feb 28, 2007, 9:31:00 AM (18 years ago)
Author:
laurent_duretz
Message:

minor update : supress warning on images without IPTC metadatas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/create_listing_file.php

    r1839 r1867  
    414414  }
    415415
    416   $iptc['keywords'] = implode(',', array_unique(explode(',', $iptc['keywords'])));
     416  $iptc['keywords'] = isset($iptc['keywords']) ? implode(',', array_unique(explode(',', $iptc['keywords']))) : NULL;
    417417
    418418  //~ pwg_log('<<<<< pwg_get_sync_iptc_data() returns '.var_export($iptc, TRUE).' <<<<<'."\n");
Note: See TracChangeset for help on using the changeset viewer.