Code Duplication    Length = 4-5 lines in 2 locations

blocks/partners.php 2 locations

@@ 80-83 (lines=4) @@
77
        $partners['url']         = $url;
78
        $partners['description'] = $description;
79
80
        if (!empty($image) && (1 == $options[4] || 3 == $options[4])) {
81
            $partners['image'] = $image;
82
            $partners['image_ttl'] = $title;
83
        }
84
        if (empty($image) || (2 == $options[4]) || (3 == $options[4])) {
85
            $partners['title'] = $title;
86
        } else {
@@ 84-88 (lines=5) @@
81
            $partners['image'] = $image;
82
            $partners['image_ttl'] = $title;
83
        }
84
        if (empty($image) || (2 == $options[4]) || (3 == $options[4])) {
85
            $partners['title'] = $title;
86
        } else {
87
            $partners['title'] = '';
88
        }
89
        $block['partners'][] = $partners;
90
    }
91
    $block['insertBr']  = (1 == $options[0]);