@@ 366-370 (lines=5) @@ | ||
363 | $newid = $GLOBALS['xoopsDB']->getInsertId(); |
|
364 | ||
365 | // Add item_tag to Tag-module |
|
366 | if (!$lid) { |
|
367 | $tagupdate = XoopstubeUtility::xtubeUpdateTag($newid, $item_tag); |
|
368 | } else { |
|
369 | $tagupdate = XoopstubeUtility::xtubeUpdateTag($lid, $item_tag); |
|
370 | } |
|
371 | ||
372 | // Send notifications |
|
373 | if (!$lid) { |
@@ 90-94 (lines=5) @@ | ||
87 | $newid = $GLOBALS['xoopsDB']->getInsertId(); |
|
88 | ||
89 | // Add item_tag to Tag-module |
|
90 | if ($lid == 0) { |
|
91 | $tagupdate = XoopstubeUtility::xtubeUpdateTag($newid, $item_tag); |
|
92 | } else { |
|
93 | $tagupdate = XoopstubeUtility::xtubeUpdateTag($lid, $item_tag); |
|
94 | } |
|
95 | ||
96 | // Notify of new link (anywhere) and new link in category |
|
97 | $notificationHandler = xoops_getHandler('notification'); |