Code Duplication    Length = 3-3 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 5477-5479 (lines=3) @@
5474
    public function character_data($parser, $data)
5475
    {
5476
        $pos = isset($this->depth_array[$this->depth]) ? $this->depth_array[$this->depth] : 0;
5477
        if (isset($this->message[$pos]['cdata'])) {
5478
            $this->message[$pos]['cdata'] .= $data;
5479
        }
5480
        if ($this->documentation) {
5481
            $this->documentation .= $data;
5482
        }
@@ 7505-7507 (lines=3) @@
7502
     */
7503
    public function buildVal($pos)
7504
    {
7505
        if (!isset($this->message[$pos]['type'])) {
7506
            $this->message[$pos]['type'] = '';
7507
        }
7508
        $this->debug('in buildVal() for ' . $this->message[$pos]['name'] . "(pos $pos) of type " . $this->message[$pos]['type']);
7509
        // if there are children...
7510
        if ($this->message[$pos]['children'] != '') {