From 84358a367debecdd9923f2728dc0d50c315026a8 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 22 Feb 2011 11:14:07 +1100 Subject: [PATCH] Accidentally removed important line of code... --- post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/post.php b/post.php index 961d6fdc..82bf0ae9 100644 --- a/post.php +++ b/post.php @@ -209,6 +209,7 @@ $post['password'] = $_POST['password']; $post['filename'] = get_magic_quotes_gpc() ? stripslashes($_FILES['file']['name']) : $_FILES['file']['name']; $post['has_file'] = $OP || !empty($_FILES['file']['tmp_name']); + $post['mod'] = isset($_POST['mod']) && $_POST['mod']; if($config['force_body'] && empty($post['body'])) error($config['error']['tooshort_body']);