Code Duplication    Length = 5-5 lines in 2 locations

code/extension/ShareThisSTE.php 2 locations

@@ 167-171 (lines=5) @@
164
                    if (isset($bookmark['click'])) {
165
                        $icon['OnClick'] = $bookmark['click'];
166
                    }
167
                    if ($useFontAwesome) {
168
                        $icon['ImageSource'] = null;
169
                        $icon['UseStandardImage'] = false;
170
                        $icon['FAIcon'] = $bookmark["faicon"];
171
                    }
172
                    if (isset($bookmark['icon'])) {
173
                        $icon['ImageSource'] = $bookmark['icon'];
174
                        $icon['UseStandardImage'] = false;
@@ 172-176 (lines=5) @@
169
                        $icon['UseStandardImage'] = false;
170
                        $icon['FAIcon'] = $bookmark["faicon"];
171
                    }
172
                    if (isset($bookmark['icon'])) {
173
                        $icon['ImageSource'] = $bookmark['icon'];
174
                        $icon['UseStandardImage'] = false;
175
                        $icon['FAIcon'] = null;
176
                    }
177
                    $icons[] = new ArrayData($icon);
178
                } else {
179
                    Debug::show("Title of url not defined for $key");