Replace hard coded timezone with function from date module
This commit is contained in:
@@ -56,7 +56,7 @@ function booking_form($node, &$form_state, $inserting = FALSE) {
|
||||
$status_options = array();
|
||||
$payment_type_options = array();
|
||||
$partner_options = array();
|
||||
date_default_timezone_set(TIMEZONE);
|
||||
date_default_timezone_set(date_default_timezone(FALSE));
|
||||
|
||||
if (!empty($node))
|
||||
{
|
||||
|
Reference in New Issue
Block a user