@@ 7679-7690 (lines=12) @@ | ||
7676 | $categories[] = $this->registry->create('Category', array($term, $scheme, $label)); |
|
7677 | } |
|
7678 | } |
|
7679 | if (is_array($categories) && is_array($categories_parent)) |
|
7680 | { |
|
7681 | $categories = array_values(array_unique(array_merge($categories, $categories_parent))); |
|
7682 | } |
|
7683 | elseif (is_array($categories)) |
|
7684 | { |
|
7685 | $categories = array_values(array_unique($categories)); |
|
7686 | } |
|
7687 | elseif (is_array($categories_parent)) |
|
7688 | { |
|
7689 | $categories = array_values(array_unique($categories_parent)); |
|
7690 | } |
|
7691 | // COPYRIGHTS |
|
7692 | if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'])) |
|
7693 | { |
|
@@ 8225-8240 (lines=16) @@ | ||
8222 | $categories[] = $this->registry->create('Category', array($term, $scheme, $label)); |
|
8223 | } |
|
8224 | } |
|
8225 | if (is_array($categories) && is_array($categories_parent)) |
|
8226 | { |
|
8227 | $categories = array_values(array_unique(array_merge($categories, $categories_parent))); |
|
8228 | } |
|
8229 | elseif (is_array($categories)) |
|
8230 | { |
|
8231 | $categories = array_values(array_unique($categories)); |
|
8232 | } |
|
8233 | elseif (is_array($categories_parent)) |
|
8234 | { |
|
8235 | $categories = array_values(array_unique($categories_parent)); |
|
8236 | } |
|
8237 | else |
|
8238 | { |
|
8239 | $categories = null; |
|
8240 | } |
|
8241 | // COPYRIGHTS |
|
8242 | if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['copyright'])) |
|
8243 | { |