From 169215da520a4672f21643d648fe3a3f7444798c Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 14 Apr 2011 02:19:31 +1000 Subject: [PATCH] email tag should end before the capcode begins --- inc/display.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/inc/display.php b/inc/display.php index 1b5e98f7..ab6f9cda 100644 --- a/inc/display.php +++ b/inc/display.php @@ -230,13 +230,11 @@ ' style="' . $config['custom_capcode'][$this->capcode][2] . '"' : '') . '>'.$this->trip.'':'') + // End email + . (!empty($this->email)? '' : '') // Capcode . (!empty($this->capcode) ? capcode($this->capcode) : ''); - // End email - if(!empty($this->email)) - $built .= ''; - // IP Address if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) { $built .= ' [' . $this->ip . ']'; @@ -415,13 +413,11 @@ $built .= '' . $this->name . '' // Trip . (!empty($this->trip) ? ' '.$this->trip.'':'') + // End email + . (!empty($this->email)? '' : '') // Capcode . (!empty($this->capcode) ? capcode($this->capcode) : ''); - // End email - if(!empty($this->email)) - $built .= ''; - // IP Address if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) { $built .= ' [' . $this->ip . ']';