Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3768 → Rev 3769

/trunk/scripts/modules/pull_plantnet/PullPlantnet.php
315,7 → 315,11
// var_dump($reponse);
if ($reponse && '' == $reponse->message /* && '' != $reponse->{'image-nom'} */) {
$images[] = (string)$reponse->{'image-nom'};
$tags_images[] = $this->tagsImageTraduits[$image['organ']] ?? $image['organ'];
 
$tag = $this->tagsImageTraduits[$image['organ']] ?? $image['organ'];
if (trim($tag)) {
$tags_images[] = $tag;
}
}
}
// var_dump($images, $tags_images);