UseBB Community

UseBB support, discussion and development

[FIXED] User timezone not always saved correctly

Post Reply

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: 2230
Location: Belgium
Fixed in CVS. Thanks for reporting.
Member
Registered: Mar 2007
Posts: 10
Thanks. Pity I can't set my correct timezone here :)

Post Reply

Page: 1

UseBB Community is powered by UseBB 1 Forum Software