Browse Source

Missing param in addCheckBox for deleting attachments.

Thijs Kinkhorst 21 năm trước cách đây
mục cha
commit
2fc6b7b8de
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/compose.php

+ 1 - 1
src/compose.php

@@ -1132,7 +1132,7 @@ function showInputForm ($session, $values=false) {
 
 
                 $s_a[] = '<table bgcolor="'.$color[0].
                 $s_a[] = '<table bgcolor="'.$color[0].
                 '" border="0"><tr><td>'.
                 '" border="0"><tr><td>'.
-		addCheckBox('delete[]', $key).
+		addCheckBox('delete[]', FALSE, $key).
 		    "</td><td>\n" . $attached_filename .
 		    "</td><td>\n" . $attached_filename .
                     '</td><td>-</td><td> ' . $type . '</td><td>('.
                     '</td><td>-</td><td> ' . $type . '</td><td>('.
                     show_readable_size( filesize( $attached_file ) ) . ')</td></tr></table>'."\n";
                     show_readable_size( filesize( $attached_file ) ) . ')</td></tr></table>'."\n";