diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index 5be4c0a405..da4e577dc1 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -461,7 +461,7 @@ $sth2->execute($language, $branch); while (my $row = $sth2->fetchrow_hashref) { $row->{'current_branch'} ||= $row->{'branchcode'}; - $row->{translated_description} ||= $row->{translated_description}; + $row->{humanitemtype} ||= $row->{itemtype}; $row->{default_translated_description} = 1 if $row->{humanitemtype} eq '*'; $row->{'humancategorycode'} ||= $row->{'categorycode'}; $row->{'default_humancategorycode'} = 1 if $row->{'humancategorycode'} eq '*';