View | Details | Raw Unified | Return to bug 8798
Collapse All | Expand All

(-)a/C4/Auth.pm (-1 / +2 lines)
Lines 984-991 sub checkauth { Link Here
984
984
985
    my $template_name = ( $type eq 'opac' ) ? 'opac-auth.tmpl' : 'auth.tmpl';
985
    my $template_name = ( $type eq 'opac' ) ? 'opac-auth.tmpl' : 'auth.tmpl';
986
    my $template = C4::Templates::gettemplate($template_name, $type, $query );
986
    my $template = C4::Templates::gettemplate($template_name, $type, $query );
987
    my @branchloop= Koha::BusinessLogic::Branch->read()->all;
987
    $template->param(
988
    $template->param(
988
        branchloop           => GetBranchesLoop(),
989
        branchloop           => \@branchloop,
989
        opaccolorstylesheet  => C4::Context->preference("opaccolorstylesheet"),
990
        opaccolorstylesheet  => C4::Context->preference("opaccolorstylesheet"),
990
        opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"),
991
        opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"),
991
        login                => 1,
992
        login                => 1,
(-)a/Koha/Database.pm (-2 / +4 lines)
Lines 63-69 sub _new_schema { Link Here
63
    my $db_passwd = $context->config("pass");
63
    my $db_passwd = $context->config("pass");
64
    my $schema    = Koha::Schema->connect(
64
    my $schema    = Koha::Schema->connect(
65
        "DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",
65
        "DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",
66
        $db_user, $db_passwd );
66
        $db_user, $db_passwd,
67
            {
68
                mysql_enable_utf8 => 1,    # REQUIRED to handle properly utf8
69
            });
67
    return $schema;
70
    return $schema;
68
}
71
}
69
72
70
- 

Return to bug 8798