Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[#24638745] Database handle not setting timezone

  • Loading branch information...
commit 631a9bd3e277e924d18536c0fa0805d543e6d8d6 1 parent 44a0f7e
Clay Fouts ctfliblime authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/C4/Context.pm
2  lib/C4/Context.pm
@@ -710,7 +710,7 @@ sub _db_connect {
710 710
711 711 $db->dbh->{mysql_enable_utf8} = 1;
712 712 $db->dbh->do(q{set NAMES 'utf8'});
713   - $db->dbh->do(q{SET time_zone = ?}, undef, $ENV{tz}) if $ENV{tz};
  713 + $db->dbh->do(q{SET time_zone = ?}, undef, $ENV{TZ}) if $ENV{TZ};
714 714
715 715 return $db;
716 716 }

0 comments on commit 631a9bd

Please sign in to comment.
Something went wrong with that request. Please try again.