https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53061f7
)
r717: Description is no longer required
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 15 Jan 2006 04:37:42 +0000
(
04:37
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 15 Jan 2006 04:37:42 +0000
(
04:37
+0000)
attachment.php
patch
|
blob
|
history
diff --git
a/attachment.php
b/attachment.php
index eaf6ef40b2356ae7657e1c3338739277a8f7a66e..e99c7f4d7b641616e6f6a33806eb57f35c6bf9b3 100755
(executable)
--- a/
attachment.php
+++ b/
attachment.php
@@
-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;