diff options
author | Iban Eguia <admin@razican.com> | 2012-03-27 18:51:52 +0200 |
---|---|---|
committer | Iban Eguia <admin@razican.com> | 2012-03-27 18:51:52 +0200 |
commit | 16760bb0d812b951564bd1742af6e622490ca05c (patch) | |
tree | 0ebff68f0972903e74f45c70e42d0ec03e0f5bde /system/helpers | |
parent | 91a13199292d8b4495e6ecbcb6a5fea1294cd2da (diff) |
Added braces as requested.
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/date_helper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/helpers/date_helper.php b/system/helpers/date_helper.php index 7ff7444e5..14d973f65 100644 --- a/system/helpers/date_helper.php +++ b/system/helpers/date_helper.php @@ -53,7 +53,9 @@ if ( ! function_exists('now')) $CI =& get_instance(); if (is_null($timezone)) + { $timezone = $CI->config->item('timezone'); + } $timezone = new DateTimeZone($timezone); $now = new DateTime('now', $timezone); |