Bug 14778: Set PrintError as it was before
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Oct 2015 10:40:19 +0000 (11:40 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Oct 2015 15:01:17 +0000 (12:01 -0300)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Database.pm

index 014554f..82d831f 100644 (file)
@@ -77,6 +77,7 @@ sub _new_schema {
             password => $db_passwd,
             %encoding_attr,
             RaiseError => $ENV{DEBUG} ? 1 : 0,
+            PrintError => 1,
             unsafe => 1,
             on_connect_do => [
                 $encoding_query || (),