Hello Bruce,
On Wednesday, December 18, 2002, Bruce Richardson wrote...

> It seems that the stable branch can no longer remember which sorting
> settings (Subject, date, ascending, desending) a person has set.  Users
> whose accounts were created more than a few days ago have no problem but
> users whose accounts were created in the last few days have problems.
> When they click on the sorting buttons it does apply the desired sort
> but it forgets as soon as they move away from the message list.

> Looking at the preferences database (which I'm storing through
> Pear/ODBC), the sort prefkey isn't being created.  If I add it manually
> for new users, it is remembered thenceforth.

> Anybody fiddle with the preferences code, recently?

  No, but somebody in the development team spotted this issue, and it
  only affects Database stored prefs. It is related to the XSS fixes
  we think, and the comparison of values. I think it's fixed in devel
  cvs, I'm not sure about stable yet, if it isn't there, I'll see if I
  can put it in.  For a quick fix change line 304 in
  functions/db_prefs.php from:

    if ($set_to == '') {

  To:

    if ($set_to === '') {

  Save, and try again :)

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to