Undo strange copy-paste error from last commit
authorMJ Ray <mjr@phonecoop.coop>
Tue, 8 Jan 2008 18:57:24 +0000 (12:57 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 8 Jan 2008 20:06:12 +0000 (14:06 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Context.pm

index 70b199a..ca7316b 100644 (file)
@@ -600,7 +600,6 @@ sub _new_dbh
     # MJR added or die here, as we can't work without dbh
     my $dbh= DBI->connect("DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",
          $db_user, $db_passwd) or die $DBI::errstr;
-    if (
     if ( $db_driver eq 'mysql' ) { 
         # Koha 3.0 is utf-8, so force utf8 communication between mySQL and koha, whatever the mysql default config.
         # this is better than modifying my.cnf (and forcing all communications to be in utf8)