When sending a test email the following message appears:

A test e-mail has been sent to x@y.com. You may want to check the logs for any error messages.

But `check the logs` is linked to the db log module UI, even if the dblog module is not enabled. It might be good to only add that link if the module exists (and if the user has permission to access that page).

Comments

jenlampton created an issue. See original summary.

jenlampton’s picture

Status: Active » Needs review
StatusFileSize
new921 bytes

patch.

wundo’s picture

Hi Jennifer,
Thanks for the patch, would you mind to submit one for 7.x-1.x as well?

Cheers,
Fabiano Sant'Ana

wundo’s picture

Status: Needs review » Needs work

Patch in #2 introduced 2 php syntax errors.

wundo’s picture

Status: Needs work » Needs review
StatusFileSize
new921 bytes

  • wundo committed 08a20a3 on 7.x-2.x
    Issue #2716985 by jenlampton, wundo: Check for dblog module (and access...

  • wundo committed f6fa0ef on 7.x-1.x
    Issue #2716985 by jenlampton, wundo: Check for dblog module (and access...
damienmckenna’s picture

Status: Needs review » Fixed

This was committed to both D7 branches, feel free to reopen if it needs to be ported to the D8 branch too.

damienmckenna’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.