View difference between Paste ID: 5hRTPQ3t and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | --- plugins/sent_subfolders/setup.php.orig<---->2012-08-24 16:02:20.000000000 +0300 |
2 | +++ plugins/sent_subfolders/setup.php<->2012-08-24 16:53:02.000000000 +0300 | |
3 | @@ -172,8 +172,11 @@ | |
4 | } else { | |
5 | setPref($data_dir, $username, 'use_sent_subfolders', SMPREF_ON); | |
6 | setPref($data_dir, $username, 'move_to_sent', SMPREF_ON); | |
7 | + $check_sent_subfolders_base = getPref($data_dir,$username,'sent_subfolders_base',''); | |
8 | + if ($check_sent_subfolders_base === '') { | |
9 | + setPref($data_dir,$username,'sent_subfolders_base',$sent_subfolders_base); | |
10 | + } | |
11 | } | |
12 | - | |
13 | /* Now just save the option as normal. */ | |
14 | save_option($option); | |
15 | } |