forked from leftypol/leftypol
Fixed small issue with UTF-8 characters decreasing the maximum length of inputs.
This commit is contained in:
parent
16b6548b4a
commit
f864d5df16
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue