]> git.koha-community.org Git - koha.git/commit
Bug 16813: Allow empty string for OPACBaseURL
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 27 Jun 2016 12:32:31 +0000 (13:32 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 10:45:46 +0000 (12:45 +0200)
commitd9638ff7db1da5775bd7aab80158dfbf611641d8
tree3de244a689e6f2ba12a00f937833b8b24e7ce598
parentd24657b87d14b5d95c5132fc13a7ba548e1069de
Bug 16813: Allow empty string for OPACBaseURL

The pref is prefixed by 'http://', but it should not when the pref is
set to an empty string.
This will fix the bug raised on bug 14790 comment 14.

Test plan:
Empty OPACBaseURL and confirm that it's save as it in DB

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
OPACBaseURL is saved up empty. Prefix http:// is not saved anymore

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit e9b6a5e31e1bc225a6e620dcefbd9545bb6d98bf)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 4fa7e90b0e650cd5e9e33a708b89052238197f30)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Context.pm
t/db_dependent/Context.t