Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: newthread.php 5087 2010-07-11 11:46:40Z Huji $
| * $Id: newthread.php 5371 2011-02-17 12:18:05Z MattR $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 38 | Zeile 38 |
---|
$pid = $post['pid']; $fid = $thread['fid']; $tid = $thread['tid'];
|
$pid = $post['pid']; $fid = $thread['fid']; $tid = $thread['tid'];
|
$editdraftpid = "<input type=\"hidden\" name=\"pid\" value=\"$pid\" /><input type=\"hidden\" name=\"tid\" value=\"$tid\" />";
| $editdraftpid = "<input type=\"hidden\" name=\"pid\" value=\"$pid\" />";
|
} else {
| } else {
|
Zeile 58 | Zeile 58 |
---|
$forumpermissions = forum_permissions($fid);
|
$forumpermissions = forum_permissions($fid);
|
if($forum['open'] == 0 || $forum['type'] != "f")
| if($forum['open'] == 0 || $forum['type'] != "f" || $forum['linkto'] != "")
|
{ error($lang->error_closedinvalidforum); }
| { error($lang->error_closedinvalidforum); }
|