diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index 1f76fbab1c..ccc6130836 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -443,7 +443,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 '*';