| @@ 388-392 (lines=5) @@ | ||
| 385 | $newid = mysql_insert_id(); |
|
| 386 | ||
| 387 | // Add item_tag to Tag-module |
|
| 388 | if (!$lid) { |
|
| 389 | $tagupdate = xtubeUpdateTag($newid, $item_tag); |
|
| 390 | } else { |
|
| 391 | $tagupdate = xtubeUpdateTag($lid, $item_tag); |
|
| 392 | } |
|
| 393 | ||
| 394 | // Send notifications |
|
| 395 | if (!$lid) { |
|
| @@ 89-93 (lines=5) @@ | ||
| 86 | $newid = mysql_insert_id(); |
|
| 87 | ||
| 88 | // Add item_tag to Tag-module |
|
| 89 | if ($lid == 0) { |
|
| 90 | $tagupdate = xtubeUpdateTag($newid, $item_tag); |
|
| 91 | } else { |
|
| 92 | $tagupdate = xtubeUpdateTag($lid, $item_tag); |
|
| 93 | } |
|
| 94 | ||
| 95 | // Notify of new link (anywhere) and new link in category |
|
| 96 | $notification_handler = & xoops_gethandler('notification'); |
|