summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-22 11:14:07 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-22 11:14:07 +1100
commitecea978fada5820437d41afe02d3152e234e5d08 (patch)
tree33a8eac95f768795db6b0f3e0afad1722403ded8 /post.php
parentba5075ebbd7611a5d539755a6402d825090a6bda (diff)
Accidentally removed important line of code...
Diffstat (limited to 'post.php')
-rw-r--r--post.php1
1 files changed, 1 insertions, 0 deletions
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']);