From f864d5df16fc6730250c1d35133f11cbd8c6a83d Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 3 Nov 2010 23:02:15 +1100 Subject: Fixed small issue with UTF-8 characters decreasing the maximum length of inputs. --- inc/display.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inc/display.php') diff --git a/inc/display.php b/inc/display.php index f107462e..a1bfd2f5 100644 --- a/inc/display.php +++ b/inc/display.php @@ -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; -- cgit v1.3