Code Duplication    Length = 3-3 lines in 2 locations

admin/downloads.php 1 location

@@ 660-662 (lines=3) @@
657
            }
658
        }
659
        // enregistrement temporaire des tags
660
        if (($xoopsModuleConfig['usetag'] == 1) and (is_dir('../../tag'))) {
661
            $donnee['TAG'] = $_POST['tag'];
662
        }
663
664
        if ($erreur == 1) {
665
            xoops_cp_header();

submit.php 1 location

@@ 131-133 (lines=3) @@
128
            }
129
        }
130
        // enregistrement temporaire des tags
131
        if (($xoopsModuleConfig['usetag'] == 1) and (is_dir('../tag'))) {
132
            $donnee['TAG'] = $_POST['tag'];
133
        }
134
        if ($erreur==true) {
135
            $xoopsTpl->assign('message_erreur', $message_erreur);
136
        } else {