contao/test — Issue #806: Notify at the author of news not works
Author: importer
Created: 2011-11-28 17:27:29+00:00
State: open
Labels: Defect, news

On the news, if is select to notify at the autor of news, the email is send to the adminnistrator of the web site.

A see the code and a have found at the line 422 of the file ModuleNewsReader.php this:
$objAuthor = $this->Database->prepare("SELECT email FROM tl_user WHERE id=?")

I have edit this in
$objAuthor = $this->Database->prepare("SELECT email FROM tl_user WHERE username=?")
and the notify works correctly

Verify if is corret to seek the ID or username

--- _Originally created by anonymous on June 15th, 2009, at 05:04pm (ID 806)_