1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +01:00

Accidentally removed important line of code...

This commit is contained in:
Savetheinternet 2011-02-22 11:14:07 +11:00
parent 4f486e5ca8
commit 84358a367d

View File

@ -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']);