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

(-)a/C4/Auth.pm (-1 / +1 lines)
Lines 556-561 sub _version_check ($$) { Link Here
556
	if (C4::Context->preference('OpacMaintenance') && $type eq 'opac') {
556
	if (C4::Context->preference('OpacMaintenance') && $type eq 'opac') {
557
        warn "OPAC Install required, redirecting to maintenance";
557
        warn "OPAC Install required, redirecting to maintenance";
558
        print $query->redirect("/cgi-bin/koha/maintenance.pl");
558
        print $query->redirect("/cgi-bin/koha/maintenance.pl");
559
        safe_exit;
559
    }
560
    }
560
    unless ( $version = C4::Context->preference('Version') ) {    # assignment, not comparison
561
    unless ( $version = C4::Context->preference('Version') ) {    # assignment, not comparison
561
        if ( $type ne 'opac' ) {
562
        if ( $type ne 'opac' ) {
562
- 

Return to bug 8787