[sam] Problem with saving preferences (patch)

Chuck Hagenbuch chuck at horde.org
Thu Mar 13 14:49:59 PST 2003


Quoting Adam Yearout <adam at cbnn.net>:

> Came across a small bug in regards to SAM's preference storing mechanism
> in sam/lib/Driver/sql.php.  Originally it was set to simply ignore any
> changes if the setting matched the default setting, but then in that
> case, it wouldn't get changed _at all_.  Modified the function so that
> it will DELETE the preference from the sql table instead, and thus
> simply load the default automatically for that user preference.
> 
> Hope that makes sense.  :)

Yup! Committed, thanks.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"... It is not more light we need, but more warmth! We die of cold, not of
darkness. It is not the night that kills, but the frost." - Miguel de Unamuno


More information about the sam mailing list