https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12497

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #12 from Marcel de Rooy <[email protected]> ---
(In reply to Charles Farmer from comment #9)
> Is this intended behavior to return a 404 whenever a systempreference blocks
> a page in Koha? I feel like the template could simply state to users and
> admin alike that search history is disabled, unless that's deemed too
> verbose for the user's own good.
> 
> But it works, nonetheless, so I'm signing it off.

You will find more examples like:

if ( ! C4::Context->preference('suggestion') ) {
    print $input->redirect("/cgi-bin/koha/errors/404.pl");
    exit;
}

But you are right, nice is something else :)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to