Skip to content

Commit

Permalink
Merge pull request #855 from sumitwebkul/gli-1602
Browse files Browse the repository at this point in the history
Fixed: Issues in getting(GET), creating(POST) and updating(PUT) hotel by hotel API
  • Loading branch information
rohit053 authored Mar 14, 2024
2 parents 00cbcee + b49020e commit 1c05375
Show file tree
Hide file tree
Showing 2 changed files with 336 additions and 76 deletions.
1 change: 1 addition & 0 deletions classes/webservice/WebserviceSpecificManagementImages.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ protected function manageListDeclinatedImages($directory, $normal_image_sizes)
$ids[] = $image['id_hotel'];
}
$ids = array_unique($ids, SORT_NUMERIC);
asort($ids);
foreach ($ids as $id) {
$this->output .= $this->objOutput->getObjectRender()->renderNodeHeader('image', array(), array('id' => $id, 'xlink_resource'=>$this->wsObject->wsUrl.'images/'.'hotels'.'/'.$id), false);
}
Expand Down
Loading

0 comments on commit 1c05375

Please sign in to comment.