Announcements: email_sent icon and database field not updated
Current behavior / Resultado actual / Résultat actuel
When an announcement is sent by mail, the email icon used to appear in the announcement list but it doesn't anymore.
Expected behavior / Resultado esperado / Résultat attendu
Email icon should be shown when announcement was sent by email and c_announcement table field sent_email should NOT be NULL
Steps to reproduce / Pasos para reproducir / Étapes pour reproduire
Send an announcement, check "send by email", watch it send by mail and look at the announcement list: no icons anymore.
Chamilo Version / Versión de Chamilo / Version de Chamilo
1.11.2+ (somehere in 2016 this got broken and still broken in 1,11.4alpha)
This is what the email icon in announcements look like when email_sent is not null:

@jderriks What is the purpuse of the icon:
- To notify when the announcement has been sent ? OR
- To see the field below is checked ?

@SatyanJ Good question. In older 1.11 versions it used to mark messages that have been sent BY EMAIL. So the purpose is indeed to see if the "send by email" was used and the announcement was send by mail instead of just posted in the chamilo box. There is code to set this field but it is never called (dead code).
Postponing to 1.11.6 because not critical. Very likely to be fixed soon after 1.11.4 release.
Fix added. You need to send again an announcement, then the icon will appear.
It looks good to me now. Closing.