Ticket #2200 (closed malfunction: fixed)

Opened 2 years ago

Last modified 2 years ago

Forward mail address not shown in log message

Reported by: FeG Owned by: benedikt
Priority: patch Milestone: ispCP ω 1.0.4
Component: Frontend (GUI) Version: ispCP ω trunk
Severity: Easy Keywords:
Cc:

Description

In source:trunk/gui/client/mail_add.php#L437, always $mail_addr is printed (since it is set to an empty string in line 305). But $mail_addr is empty, if one has created a just forwarding address.

If you change the isset to !empty, $mail_acc is printed if we have a forwarding account; but $mail_acc only contains the string before the @, so "foo", not "foo@…".

I haven't looked too much into this, so I don't know where to get the @domain - string from; but I think it'll be already an improvement to output at least the string before the @; so I'll attach the little patch for this.

Attachments

client_mailadd_forwardprint.patch Download (615 bytes) - added by FeG 2 years ago.
replaces isset by !empty

Change History

Changed 2 years ago by FeG

replaces isset by !empty

comment:1 Changed 2 years ago by benedikt

  • Owner set to benedikt
  • Status changed from new to assigned
  • Milestone changed from Working to ispCP ω 1.0.4

comment:2 Changed 2 years ago by benedikt

  • Status changed from assigned to closed
  • Resolution set to fixed

patch added in r2581.

Note: See TracTickets for help on using tickets.