r717: Description is no longer required
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 15 Jan 2006 04:37:42 +0000 (04:37 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 15 Jan 2006 04:37:42 +0000 (04:37 +0000)
attachment.php

index eaf6ef40b2356ae7657e1c3338739277a8f7a66e..e99c7f4d7b641616e6f6a33806eb57f35c6bf9b3 100755 (executable)
@@ -72,11 +72,6 @@ if ($_POST['do'] == 'insert')
        
        // #*# put some MIME-type validation here
        
-       if (!$bugsys->in['description'])
-       {
-               $message->error($lang->string('You need to specify a file description.'));
-       }
-       
        $filedata = $bugsys->escape(file_get_contents($FILE['tmp_name']), true, true);
        $time = TIMENOW;