Changeset 6734 for extensions/AMetaData


Ignore:
Timestamp:
07/29/10 16:22:56 (10 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.