Code: Select all
#
#-----[ OPEN /includes/functions.php ]------------------------------
#
#
#-----[ FIND around line 90 ]-----------------------------------
#
return ( $row = $db->sql_fetchrow($result) ) ? $row : false;
#
#-----[ REPLACE WITH ]-------------------------------------------
#
// DST MOD
// OLD return ( $row = $db->sql_fetchrow($result) ) ? $row : false;
if ( $row = $db->sql_fetchrow($result) )
{
if ( $row['user_timezone'] > 12 ) $row['user_timezone'] -= 50;
return $row;
}
else
{
return false;
}
// END MOD