Bug 8849 - Error log generated when not a demo system
authorMark Tompsett <mtompset@hotmail.com>
Mon, 1 Oct 2012 08:29:22 +0000 (16:29 +0800)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 24 Oct 2012 16:07:59 +0000 (18:07 +0200)
commitb570a76064073da1d67a994977b5516f30daef96
tree63489925ea511605ccd315faa80c4bc1e03639b4
parentd1f67b10347ca517b2b5ee9f5a06ea58f4dc3970
Bug 8849 - Error log generated when not a demo system

Changed two lines similar to:
   unless (C4::Context->config('demo') == 1) {
into lines similar to:
   unless (C4::Context->config('demo')) {
By removing the == 1, undefined = false without an error. The
value of demo is supposedly set by a koha-conf.xml variable,
but there is very little documentation on this "demo mode"
beyond the set it to 1 in koha conf for demo mode.  Also, demo
doesn't exist in the default koha-conf.xml file generated.
So anyone who knows to create it, will likely create it the
proper way and with the proper value.

Signed-off-by: wajasu <matted-34813@mypacks.net>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
admin/marctagstructure.pl