This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 24th, 2012  |  syntax: Diff  |  size: 0.66 KB  |  views: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  }
clone this paste RAW Paste Data