Zeile 62 | Zeile 62 |
---|
function verify_subject() { $subject = &$this->data['subject'];
|
function verify_subject() { $subject = &$this->data['subject'];
|
| $subject = utf8_handle_4byte_string($subject);
|
// Subject is over 85 characters, too long. if(my_strlen($subject) > 85)
|
// Subject is over 85 characters, too long. if(my_strlen($subject) > 85)
|
{
| {
|
$this->set_error("too_long_subject");
|
$this->set_error("too_long_subject");
|
return false; }
| return false; }
|
// No subject, apply the default [no subject] if(!trim_blank_chrs($subject)) {
| // No subject, apply the default [no subject] if(!trim_blank_chrs($subject)) {
|
Zeile 77 | Zeile 79 |
---|
} return true; }
|
} return true; }
|
|
|
/** * Verifies if a message for a PM is valid. *
| /** * Verifies if a message for a PM is valid. *
|
Zeile 86 | Zeile 88 |
---|
function verify_message() { $message = &$this->data['message'];
|
function verify_message() { $message = &$this->data['message'];
|
| $message = utf8_handle_4byte_string($message);
|
// No message, return an error. if(trim_blank_chrs($message) == '')
| // No message, return an error. if(trim_blank_chrs($message) == '')
|