root/ip/trunk/modcp.php
| 165 | 167 | ||
|---|---|---|---|
657 | $topic_subject = trim(htmlspecialchars($_POST['subject'])); | 657 | $topic_subject = trim(htmlspecialchars($_POST['subject'])); |
658 | if(empty($topic_subject)) | 658 | if(empty($topic_subject)) |
659 | { | 659 | { |
660 | message_die(GENERAL_MESSAGE, $lang['Empty_subject']); | 660 | message_die(GENERAL_MESSAGE, $lang['Empty_subject']); |
661 | } | 661 | } |
662 | 662 | ||
663 | $new_topic_id = $mcp_topic->topic_split($posts, $forum_id, $fid, $topic_id, $split_beyond, $topic_subject); | 663 | $new_topic_id = $mcp_topic->topic_split($posts, $forum_id, $fid, $topic_id, $split_beyond, $topic_subject); |
Download diff