UseBB Community

The official board for UseBB help and discussion

UseBB Community » Bug Reports » [FIXED] User timezone not always saved correctly

[FIXED] User timezone not always saved correctly

Page: 1

Author Post
Member
Registered: Mar 2007
Posts: 10
Version: UseBB 1.0.5

When a user changes his/her timezone (in Your Panel > Edit Options) to a half-hour timezone (e.g. GMT -3:30) it is not correctly saved to the database.

The cause is in sources/panel_options.php, line 58:

$_POST['timezone'] = ( valid_int($_POST['timezone']) ...


If we change it to:

$_POST['timezone'] = ( $_POST['timezone'] ...


Then half-hour timezones are correctly saved.
« Last edit by Dietrich on Mon Mar 19, 2007 7:14 pm. »
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Fixed in CVS. Thanks for reporting.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Mar 2007
Posts: 10
Thanks. Pity I can't set my correct timezone here :)

Page: 1

UseBB Community » Bug Reports » [FIXED] User timezone not always saved correctly

UseBB Community is powered by UseBB 1 Forum Software