mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 08:40:21 -07:00
oh also a fix for 'no layout' on newthread.php
This commit is contained in:
parent
8db5c57440
commit
50c61486ce
@ -219,8 +219,13 @@
|
|||||||
|
|
||||||
if($submit) {
|
if($submit) {
|
||||||
mysql_query("UPDATE `users` SET `posts` = $numposts, `lastposttime` = '$currenttime' WHERE `id` = '$userid'");
|
mysql_query("UPDATE `users` SET `posts` = $numposts, `lastposttime` = '$currenttime' WHERE `id` = '$userid'");
|
||||||
$headid=getpostlayoutid($head);
|
if (filter_bool($nolayout)) {
|
||||||
$signid=getpostlayoutid($sign);
|
$headid = 0;
|
||||||
|
$signid = 0;
|
||||||
|
} else {
|
||||||
|
$headid=getpostlayoutid($head);
|
||||||
|
$signid=getpostlayoutid($sign);
|
||||||
|
}
|
||||||
|
|
||||||
mysql_query("INSERT INTO `threads` (`forum`, `user`, `views`, `closed`, `title`, `icon`, `replies`, `firstpostdate`, `lastpostdate`, `lastposter`) ".
|
mysql_query("INSERT INTO `threads` (`forum`, `user`, `views`, `closed`, `title`, `icon`, `replies`, `firstpostdate`, `lastpostdate`, `lastposter`) ".
|
||||||
"VALUES ('$id', '$userid', '0', '0', '$subject', '$posticon', '0', '$currenttime', '$currenttime', '$userid')");
|
"VALUES ('$id', '$userid', '0', '0', '$subject', '$posticon', '0', '$currenttime', '$currenttime', '$userid')");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user