[Tickets #13732] Re: [move_innocent_after_report'] not set globally

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Dec 3 18:39:58 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13732
------------------------------------------------------------------------------
  Ticket           | 13732
  Aktualisiert Von | sascha at schmidt.ps
  Zusammenfassung  | [move_innocent_after_report'] not set globally
  Warteschlange    | IMP
  Version          | 6.2.3
  Typ              | Bug
  Status           | Feedback
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


sascha at schmidt.ps (2014-12-03 18:39) hat geschrieben:

I'v looked into imp/lib/LoginTasks/SystemTask/Upgrade.php and found  
that 2 variables are handled for this task.

if (!$prefs->isDefault('move_ham_after_report')) {
             $prefs->setValue('move_innocent_after_report',  
$prefs->getValue('move_ham_after_report'));

After setting both variables with the desired value, it worked.

$_prefs['move_innocent_after_report']['value'] = '1';
$_prefs['move_ham_after_report']['value'] = '1';

Strange?





More information about the bugs mailing list