Ability to "move" a thread to another board (2/3 done)

This commit is contained in:
Savetheinternet committed 2011-11-19 01:35:22 +11:00
1 parent b966670fe4
commit d8fe3ff8d8
4 files changed
+160 -2

No files matched your search

+2 -2
View File
@@ -614,9 +614,9 @@
$query->bindValue(':name', $post['name']);
$query->bindValue(':trip', $post['trip']);
$query->bindValue(':body', $post['body']);
$query->bindValue(':time', time(), PDO::PARAM_INT);
$query->bindValue(':time', $post['time'] ? $post['time'] : time(), PDO::PARAM_INT);
$query->bindValue(':password', $post['password']);
$query->bindValue(':ip', $_SERVER['REMOTE_ADDR']);
$query->bindValue(':ip', $post['ip'] ? $post['ip'] : $_SERVER['REMOTE_ADDR']);
if($post['mod'] && $post['sticky']) {
$query->bindValue(':sticky', 1, PDO::PARAM_INT);