Skip to content

Commit a164760

Browse files
committed
Updated component format
1 parent 91c81fc commit a164760

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

step4.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
$booking->addChild('booking_key', $_POST['booking_key']);
3434

3535
$components = $booking->addChild('components');
36-
$component = $components->addChild('component_key', $component_key);
36+
$component = $components->addChild('component');
37+
$component->addChild('component_key', $component_key);
3738

3839
$customers = $booking->addChild('customers');
3940

@@ -72,4 +73,4 @@
7273
<?php
7374
include_once("inc/debug.php");
7475
include_once("inc/bottom.php");
75-
?>
76+
?>

0 commit comments

Comments
 (0)