Ignore:
Timestamp:
05/24/10 01:18:59 (9 years ago)
Author:
plg
Message:

bug 1683 fixed: as soon as an admin modifies the admin>conf>options>guest settings, registration is broken. This is because user_infos.theme/language are emptied (while they should not).

I have also added an "automatic repair" piece of code in get_default_user_info function. This piece of code should be removed for 2.2 with the appropriate migration task.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/profile.php

    r6276 r6311  
    106106      $_POST['language'] 
    107107      ); 
     108    $_POST['theme'] = get_default_theme(); 
     109    $_POST['language'] = get_default_language(); 
    108110  } 
    109111 
Note: See TracChangeset for help on using the changeset viewer.