Project:Pontomail Webmail Client
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:Souvent22
Status:closed (fixed)

Issue Summary

On admin/settings/pontomail the option Log Sent Mail forgets it's value after submitting.
So I checked the form and it seems to be corrupted - in 4.7 too.

  $form['pontomail_options'] = array('#type' => 'checkbox',
    '#title' => t('Log Sent Mail'),
    '#description' => t('This will log all sent mail that is sent by all users. Users will then be
     able to view any mail they have sent through Pontomail Webmail'));

should be something like
  $form['pontomail_options']['pontomail_log_sent'] = array('#type' => 'checkbox',
    '#title' => t('Log Sent Mail'),
    '#default_value' => variable_get('pontomail_log_sent', 0),
    '#description' => t('This will log all sent mail that is sent by all users. Users will then be
     able to view any mail they have sent through Pontomail Webmail'));

But it doesn't seem to be functional anyway by now - or am I wrong here?
vg

Comments

#1

You are correct. Must of been something I missed late one night. I will commit a fix/patch for this today.

#2

Status:active» reviewed & tested by the community

Fixed.

#3

Status:reviewed & tested by the community» fixed

#4

Assigned to:Anonymous» Souvent22

#5

Status:fixed» closed (fixed)
nobody click here