Fixed small issue with UTF-8 characters decreasing the maximum length of inputs.

This commit is contained in:
Savetheinternet 2010-11-03 23:02:15 +11:00
parent 16b6548b4a
commit f864d5df16
2 changed files with 6 additions and 6 deletions

View file

@ -22,9 +22,9 @@
public function __construct($id, $thread, $subject, $email, $name, $trip, $body, $time, $thumb, $thumbx, $thumby, $file, $filex, $filey, $filesize, $filename) {
$this->id = $id;
$this->thread = $thread;
$this->subject = $subject;
$this->subject = utf8tohtml($subject);
$this->email = $email;
$this->name = $name;
$this->name = utf8tohtml($name);
$this->trip = $trip;
$this->body = $body;
$this->time = $time;
@ -68,9 +68,9 @@
public $omitted = 0;
public function __construct($id, $subject, $email, $name, $trip, $body, $time, $thumb, $thumbx, $thumby, $file, $filex, $filey, $filesize, $filename) {
$this->id = $id;
$this->subject = $subject;
$this->subject = utf8tohtml($subject);
$this->email = $email;
$this->name = $name;
$this->name = utf8tohtml($name);
$this->trip = $trip;
$this->body = $body;
$this->time = $time;