fixed PDF output

This commit is contained in:
Roland Gruber 2005-01-04 20:16:54 +00:00
parent 520d97be03
commit 3e2714225e
1 changed files with 2 additions and 2 deletions

View File

@ -366,13 +366,13 @@ class inetLocalMailRecipient extends baseModule {
function get_pdfEntries() { function get_pdfEntries() {
$return = array(); $return = array();
if (isset($this->attributes['mailRoutingAddress'][0])) { if (isset($this->attributes['mailRoutingAddress'][0])) {
$return['inetLocalMailRecipient_routingAdr'] = '<block><key>' . _('Routing address') . '</key><value>' . implode(', ', $this->attributes['mailRoutingAddress']) . '</value></block>'; $return['inetLocalMailRecipient_routingAdr'] = '<block><key>' . _('Routing address') . '</key><value>' . $this->attributes['mailRoutingAddress'][0] . '</value></block>';
} }
if (sizeof($this->attributes['mailLocalAddress']) > 0) { if (sizeof($this->attributes['mailLocalAddress']) > 0) {
$return['inetLocalMailRecipient_localAdr'] = '<block><key>' . _('Local address list') . '</key><value>' . implode(', ', $this->attributes['mailLocalAddress']) . '</value></block>'; $return['inetLocalMailRecipient_localAdr'] = '<block><key>' . _('Local address list') . '</key><value>' . implode(', ', $this->attributes['mailLocalAddress']) . '</value></block>';
} }
if (isset($this->attributes['mailHost'][0])) { if (isset($this->attributes['mailHost'][0])) {
$return['inetLocalMailRecipient_host'] = '<block><key>' . _('Mail server') . '</key><value>' . implode(', ', $this->attributes['mailHost']) . '</value></block>'; $return['inetLocalMailRecipient_host'] = '<block><key>' . _('Mail server') . '</key><value>' . $this->attributes['mailHost'][0] . '</value></block>';
} }
return $return; return $return;
} }