Changeset 6734 for extensions


Ignore:
Timestamp:
Jul 29, 2010, 4:22:56 PM (14 years ago)
Author:
grum
Message:

fix bug when there is no personnal metadata

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/amd_root.class.inc.php

    r6729 r6734  
    300300   * database)
    301301   *
    302    * @param Array $numId : array of userDefeined numId to get
     302   * @param Array $numId : array of userDefined numId to get
    303303   * @param Array $values : array of existing tag for the images
    304304   * @return Array : associated array of numId=>value
     
    306306  protected function pictureGetUserDefinedTags($listId, $values)
    307307  {
     308    if(count($listId)==0 or count($values)==0) return(array());
     309
    308310    $listIds=implode(',', $listId);
    309311    $rules=array();
Note: See TracChangeset for help on using the changeset viewer.