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 . ']';