diff --git a/main/forum/editpost.php b/main/forum/editpost.php index 85fb7f6e30..2be1e64350 100755 --- a/main/forum/editpost.php +++ b/main/forum/editpost.php @@ -225,7 +225,7 @@ $values = show_edit_post_form( isset($_SESSION['formelements']) ? $_SESSION['formelements'] : '' ); -if (!empty($values) and isset($_POST['SubmitPost'])) { +if (!empty($values) && isset($_POST['SubmitPost'])) { store_edit_post($current_forum, $values); } diff --git a/main/forum/forumfunction.inc.php b/main/forum/forumfunction.inc.php index 946b310fdf..7dec76f5ea 100755 --- a/main/forum/forumfunction.inc.php +++ b/main/forum/forumfunction.inc.php @@ -3525,7 +3525,7 @@ function show_edit_post_form( get_lang('QualificationNumeric'), array( 'value' => $current_thread['thread_qualify_max'], - 'style' => 'width:40px', + 'style' => 'width:100px', ) ); $form->applyFilter('numeric_calification', 'html_filter'); @@ -3544,7 +3544,7 @@ function show_edit_post_form( array(get_lang('QualifyWeight'), null, ''), array( 'value' => $current_thread['thread_weight'], - 'style' => 'width:40px', + 'style' => 'width:100px', ) ); $form->applyFilter('weight_calification', 'html_filter');