From 44b388605042924b19fd03d3f214e23dea702713 Mon Sep 17 00:00:00 2001 From: hdl Date: Wed, 30 Mar 2005 08:08:25 +0000 Subject: [PATCH] Modifying Empty Titles process For Translations --- koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl | 2 +- reports/cat_issues_top.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl b/koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl index 4df22adf74..6d514a8ad9 100644 --- a/koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl @@ -37,7 +37,7 @@ function Dopop(link) { ')" > - + Item diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index 0a2d940a42..dc956d8c6c 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -326,7 +326,7 @@ sub calculate { my ($row, $rank, $id, $col )=@data; $col = "zzEMPTY" if ($col eq undef); $i=1 if (($previous_col) and not($col eq $previous_col)); - $table[$i]->{$col}->{'name'}=(($row eq "") or ($row eq undef))?"Title":$row; + $table[$i]->{$col}->{'name'}=$row; $table[$i]->{$col}->{'count'}=$rank; $table[$i]->{$col}->{'link'}=$id; # warn " ".$i." ".$col. " ".$row;