From cbdc3fd8e817dfa5429c8f8fdcb587f2c2b740b6 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 18 Feb 2011 01:13:56 +1100 Subject: Fixed display of OP in IP page --- inc/display.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'inc/display.php') diff --git a/inc/display.php b/inc/display.php index 023f5648..871b2a9d 100644 --- a/inc/display.php +++ b/inc/display.php @@ -194,7 +194,7 @@ }; class Thread { - public function __construct($id, $subject, $email, $name, $trip, $body, $time, $thumb, $thumbx, $thumby, $file, $filex, $filey, $filesize, $filename, $ip, $sticky, $locked, $root=null, $mod=false) { + public function __construct($id, $subject, $email, $name, $trip, $body, $time, $thumb, $thumbx, $thumby, $file, $filex, $filey, $filesize, $filename, $ip, $sticky, $locked, $root=null, $mod=false, $hr=true) { global $config; if(!isset($root)) $root = $config['root']; @@ -221,6 +221,7 @@ $this->locked = $locked; $this->root = $root; $this->mod = $mod; + $this->hr = $hr; if($this->mod) // Fix internal links @@ -366,7 +367,7 @@ $built .= $post->build($index); } - $built .= '

'; + $built .= '
' . ($this->hr ? '
' : ''); return $built; } }; -- cgit v1.3