Menu

#10 need a space in the subject field

open
nobody
None
5
2002-03-30
2002-03-30
Charles
No

Hi,

When one writes a new message, and if one doesn't put
a subject in the subject field, one gets an error
message.

In order not to get the error message, one has to add
a space in the create.php file in the subject field
line 538 as follows :

<input type="text" name="subject" value="<?php echo
htmlspecialchars($subject); ?> " size="35"
class="textbox">

Then when you write a new message, the program
considers you already entered a subject, because the
subject field already has a space.

Charles.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    that's because on line 45, eCorrei checks for empty $to, $subject &
    $body value.. so, in order to prevent those errors,

    i'd do like this -->
    if (empty($to)) {
    $err_string = $lang->err_to_field;
    }

     
  • Kelvin Jones

    Kelvin Jones - 2002-09-17

    Logged In: YES
    user_id=422132

    This should be fixed on the Server side, not the client as the
    user could easily remove the space.

     

Log in to post a comment.

MongoDB Logo MongoDB