Code Duplication    Length = 5-5 lines in 2 locations

Bootstrap.php 2 locations

@@ 1546-1550 (lines=5) @@
1543
                        if  ( !isset($user['shippinggaddress']['phone'])) {
1544
                                $user['shippingaddress']['phone'] = " ";
1545
                        }                        
1546
                        if ($user['additional']['countryShipping']['id'] == $user['additional']['country']['id']) {
1547
                            $update['shipping_address'] = $this->getCheckoutAddress($user, 'billing');
1548
                        } else {
1549
                            $update['shipping_address'] = $this->getCheckoutAddress($user, 'shipping');
1550
                        }                          
1551
                    }
1552
                    $order->update($update);
1553
                } else {
@@ 1602-1606 (lines=5) @@
1599
                        && $user['billingaddress']['zipcode'] != '00000'
1600
                    ) {
1601
                        $create['customer'] = $this->getCheckoutCustomer($user);
1602
                        if ($user['additional']['countryShipping']['id'] == $user['additional']['country']['id']) {
1603
                            $create['shipping_address'] = $this->getCheckoutAddress($user, 'billing');
1604
                        } else {
1605
                            $create['shipping_address'] = $this->getCheckoutAddress($user, 'shipping');
1606
                        }
1607
                    }                    
1608
                } else {
1609
                    $session['klarnaPreFill'] = false;