Browse Source

Bug 28692: (QA follow-up) Sort hash keys of unblessed

Trivial add. Reads much better. And might help future diffs.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11/bug30761
Marcel de Rooy 2 years ago
committed by Jonathan Druart
parent
commit
2d528efc69
  1. 1
      C4/Log.pm

1
C4/Log.pm

@ -79,6 +79,7 @@ sub logaction {
if ( ref($infos) && ref($infos) !~ /HASH|ARRAY/ && $infos->isa('Koha::Object') ) {
$infos = $infos->get_from_storage if $infos->in_storage;
local $Data::Dumper::Sortkeys = 1;
$infos = Dumper( $infos->unblessed );
if ( $infos->isa('Koha::Item') && $modulename eq 'CATALOGUING' && $actionname eq 'MODIFY' ) {

Loading…
Cancel
Save