Code Duplication    Length = 7-7 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 3688-3694 (lines=7) @@
3685
                        continue;
3686
                    }
3687
                }
3688
                if (isset($cookie['domain']) && (!empty($cookie['domain']))) {
3689
                    $domain = preg_quote($cookie['domain']);
3690
                    if (!preg_match("'.*$domain$'i", $this->host)) {
3691
                        $this->debug('cookie has different domain');
3692
                        continue;
3693
                    }
3694
                }
3695
                if (isset($cookie['path']) && (!empty($cookie['path']))) {
3696
                    $path = preg_quote($cookie['path']);
3697
                    if (!preg_match("'^$path.*'i", $this->path)) {
@@ 3695-3701 (lines=7) @@
3692
                        continue;
3693
                    }
3694
                }
3695
                if (isset($cookie['path']) && (!empty($cookie['path']))) {
3696
                    $path = preg_quote($cookie['path']);
3697
                    if (!preg_match("'^$path.*'i", $this->path)) {
3698
                        $this->debug('cookie is for a different path');
3699
                        continue;
3700
                    }
3701
                }
3702
                if ((!$secure) && isset($cookie['secure']) && $cookie['secure']) {
3703
                    $this->debug('cookie is secure, transport is not');
3704
                    continue;