Skip to content

Commit 3ea9749

Browse files
authored
Merge pull request #320 from shreesh-webkul/gli-700
Resolved new room features automatically mapping to all the room types
2 parents e028d10 + f219b0a commit 3ea9749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/hotelreservationsystem/classes/HotelHelper.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ public function saveDummyProductsAndRelatedInfo($id_hotel)
548548
$htl_rm_type->save();
549549

550550
// Add features to the product
551-
$ftr_arr = array(0 => 8, 1 => 9, 2 => 10, 3 => 11);
552-
$ftr_val_arr = array(0 => 34, 1 => 35, 2 => 36, 3 => 37);
551+
$ftr_arr = array(0 => 1, 1 => 2, 2 => 3, 3 => 4);
552+
$ftr_val_arr = array(0 => 1, 1 => 2, 2 => 3, 3 => 4);
553553
foreach ($ftr_arr as $key_htl_ftr => $val_htl_ftr) {
554554
$product->addFeaturesToDB($val_htl_ftr, $ftr_val_arr[$key_htl_ftr]);
555555
}

0 commit comments

Comments
 (0)