[Koha-bugs] [Bug 16401] System preference staffClientBaseURL hardcoded to 'http://'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 1 17:37:45 CEST 2017


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
What about the following query instead?
UPDATE systempreferences SET value = CONCAT('http://', value) WHERE variable =
'staffClientBaseURL' AND value <> "" AND value NOT LIKE '^http%';

staffClientBaseURL is not supposed to be empty, but it will avoid to have it
set to "http://"

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list