Code Duplication    Length = 14-18 lines in 2 locations

src/RSSFeed/simplepie/simplepie_1.3.1.mini.php 2 locations

@@ 7706-7719 (lines=14) @@
7703
                                }
7704
                                $copyrights = $this->registry->create('Copyright', array($copyright_url, $copyright_label));
7705
                            }
7706
                            elseif (isset($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright']))
7707
                            {
7708
                                $copyright_url = null;
7709
                                $copyright_label = null;
7710
                                if (isset($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['attribs']['']['url']))
7711
                                {
7712
                                    $copyright_url = $this->sanitize($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['attribs']['']['url'], SIMPLEPIE_CONSTRUCT_TEXT);
7713
                                }
7714
                                if (isset($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['data']))
7715
                                {
7716
                                    $copyright_label = $this->sanitize($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
7717
                                }
7718
                                $copyrights = $this->registry->create('Copyright', array($copyright_url, $copyright_label));
7719
                            }
7720
                            else
7721
                            {
7722
                                $copyrights = $copyrights_parent;
@@ 8242-8259 (lines=18) @@
8239
                            $categories = null;
8240
                        }
8241
                        // COPYRIGHTS
8242
                        if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright']))
8243
                        {
8244
                            $copyright_url = null;
8245
                            $copyright_label = null;
8246
                            if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['attribs']['']['url']))
8247
                            {
8248
                                $copyright_url = $this->sanitize($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['attribs']['']['url'], SIMPLEPIE_CONSTRUCT_TEXT);
8249
                            }
8250
                            if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['data']))
8251
                            {
8252
                                $copyright_label = $this->sanitize($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'][0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
8253
                            }
8254
                            $copyrights = $this->registry->create('Copyright', array($copyright_url, $copyright_label));
8255
                        }
8256
                        else
8257
                        {
8258
                            $copyrights = $copyrights_parent;
8259
                        }
8260
                        // CREDITS
8261
                        if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['credit']))
8262
                        {