https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31325 Bug ID: 31325 Summary: Fix koha-preferences get Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz To reproduce: $ perl koha/misc/admin/koha-preferences get HASH(0x55dd4d432840) The problem is that _fetch_preference() fetches variable, value and type: 109 sub _fetch_preference { 110 my ( $preference ) = @_; 111 112 my $dbh = C4::Context->dbh; 113 114 my $row = $dbh->selectrow_hashref( " 115 SELECT 116 variable, value, type 117 FROM systempreferences 118 WHERE variable = ? 119 LIMIT 1 120 ", {}, $preference ); 121 122 exit 2 unless ( $row ); 123 124 return $row; 125 } And then all of that data is just printed, instead of only the value being printed. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.