Code Duplication    Length = 5-5 lines in 2 locations

htdocs/modules/wflinks/admin/main.php 1 location

@@ 546-550 (lines=5) @@
543
        $newid = mysql_insert_id();
544
545
// Add item_tag to Tag-module
546
        if (!$lid) {
547
          $tagupdate = wfl_tagupdate($newid, $item_tag);
548
        } else {
549
          $tagupdate = wfl_tagupdate($lid, $item_tag);
550
        }
551
552
// Send notifications
553
        if (!$lid) {

htdocs/modules/wflinks/submit.php 1 location

@@ 100-104 (lines=5) @@
97
            $newid = mysql_insert_id();
98
99
// Add item_tag to Tag-module
100
            if ($lid == 0) {
101
                 $tagupdate = wfl_tagupdate($newid, $item_tag);
102
            } else {
103
                 $tagupdate = wfl_tagupdate($lid, $item_tag);
104
            }
105
106
// Notify of new link (anywhere) and new link in category
107
            $notification_handler = &xoops_gethandler( 'notification' );