Bug 12702 - Suggestions still accessible in OPAC when deactivated
authorThomas <tomsStudy@gmail.com>
Tue, 13 Jan 2015 23:25:49 +0000 (23:25 +0000)
committerChris Cormack <chris@bigballofwax.co.nz>
Mon, 19 Jan 2015 19:05:29 +0000 (08:05 +1300)
commit27f6ca35210a70662de50577c9f1c3fa2774dd08
treeccffd5684dc42b089e334caa47c9dc742326557a
parent2cc39a405d2e70286b6dad3e4c1ed264c9485002
Bug 12702 - Suggestions still accessible in OPAC when deactivated

Added check for suggestions turned off. If off user is redirected to 404 error. If patron suggestions are off guest sugestions will also redirect to 404

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit bcbcad897a3f383b38851f8d0fb27017170d181f)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
opac/opac-suggestions.pl