Bug 11401: QA followup
authorMagnus Enger <digitalutvikling@gmail.com>
Wed, 29 Oct 2014 09:26:11 +0000 (10:26 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 14 Nov 2014 12:42:45 +0000 (09:42 -0300)
commit1be9f1a0e70d55eeca841f2c3becbbbf9f988b39
treeec8136977d09cb01ddb7f674a5ab380d15fa6fbb
parentb1d1a034b24fdd2264c61584854917d3d19d3b14
Bug 11401: QA followup

1) Be more careful when checking the NorwegianPatronDBEnable syspref.

Before:
if ( C4::Context->preference('NorwegianPatronDBEnable') == 1 ) {

After:
if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preference('NorwegianPatronDBEnable') == 1 ) {

This should avoid complaints if the syspref is not initialized.

2) Fix some empty =head2 POD sections

3) Fix some indentation in patrons.pref, to make xt/yaml_valid.t happy

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
I couldn't find any regressions with adding, editing and deleting members.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Members.pm
Koha/NorwegianPatronDB.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
members/deletemem.pl
members/memberentry.pl
members/moremember.pl
misc/cronjobs/nl-sync-from-koha.pl