Ticket #2200 (closed malfunction: fixed)
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
Change History
Changed 2 years ago by FeG
-
attachment
client_mailadd_forwardprint.patch
added
Note: See
TracTickets for help on using
tickets.



replaces isset by !empty