[Tickets #6822] Hooked prefs won't get stored

bugs at horde.org bugs at horde.org
Mon Jun 2 21:03:30 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6822
-----------------------------------------------------------------------
 Ticket             | 6822
 Created By         | manuel at mausz.at
 Summary            | Hooked prefs won't get stored
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Milestone          |
 Patch              |
 Owners             |
-----------------------------------------------------------------------


manuel at mausz.at (2008-06-02 17:03) wrote:

Hooked and non-locked prefs won't get stored any more.

/ manuel

Patch:
--- ./lib/Horde/Prefs.php.orig  2008-06-02 22:49:59.000000000 +0200
+++ ./lib/Horde/Prefs.php       2008-06-02 22:57:34.000000000 +0200
@@ -766,6 +766,7 @@
                 $this->_scopes[$scope][$name]['m'] & _PREF_DEFAULT) {
                 $val = Horde::callHook('_prefs_hook_' . $name,
array($this->_user), 'horde', $name);
                 $this->_scopes[$scope][$name]['v'] =
$this->convertToDriver($val, NLS::getCharset());
+                $this->_scopes[$scope][$name]['m'] |= _PREF_DIRTY;
             }
         }
     }




More information about the bugs mailing list