"Log Sent Mail" forgets it's value

sanduhrs - August 20, 2006 - 11:13
Project:Pontomail Webmail Client
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Souvent22
Status:closed
Description

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

#1

Souvent22 - August 20, 2006 - 18:31

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

#2

Souvent22 - August 20, 2006 - 18:54
Status:active» reviewed & tested by the community

Fixed.

#3

Souvent22 - August 20, 2006 - 19:34
Status:reviewed & tested by the community» fixed

#4

Souvent22 - August 20, 2006 - 19:38
Assigned to:Anonymous» Souvent22

#5

Anonymous - September 3, 2006 - 19:45
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.