Code Duplication    Length = 7-7 lines in 2 locations

admin/categories.php 2 locations

@@ 214-220 (lines=7) @@
211
                $default = _MD_NO;
212
                $checked = '';
213
            }
214
            if ($activeyn == '1') {
215
                $default       = _MD_YES;
216
                $activechecked = ' checked';
217
            } else {
218
                $default       = _MD_NO;
219
                $activechecked = '';
220
            }
221
            if ($picture != '') {
222
                $iconurl = "../uploads/$picture";
223
            } else {
@@ 383-389 (lines=7) @@
380
                $default = _MD_NO;
381
                $checked = '';
382
            }
383
            if ($activeyn == '1') {
384
                $default       = _MD_YES;
385
                $activechecked = ' checked';
386
            } else {
387
                $default       = _MD_NO;
388
                $activechecked = '';
389
            }
390
            if ($picture != '') {
391
                $iconurl = "../uploads/$picture";
392
            } else {