From: Michal Vaner Date: Tue, 4 Nov 2008 09:23:59 +0000 (+0100) Subject: Return missing select button X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=8433c320da1e33d275641fbe7e26eaf53a1ba989;p=pciids.git Return missing select button The button was missing in deletion requests --- diff --git a/PciIds/Html/Admin.pm b/PciIds/Html/Admin.pm index 31833f2..06f8faf 100644 --- a/PciIds/Html/Admin.pm +++ b/PciIds/Html/Admin.pm @@ -199,7 +199,7 @@ function answer( id ) { if( $hist eq $actHist ) { genHist( 'main-history', $actEmail, $actLogin, $actTime, $actName, $actNote, $actDisc, "loc-$cnt-sel", 'seen', undef, undef ); } else { - genHist( $seen ? 'history' : 'unseen-history', $email, $login, $time, $name, $note, $disc, ( defined $name && $name ne '' ) ? "loc-$cnt-sel" : undef, $hist, "del-$hiscnt", "del-$hist" ); + genHist( $seen ? 'history' : 'unseen-history', $email, $login, $time, $name, $note, $disc, ( defined $name ) ? "loc-$cnt-sel" : undef, $hist, "del-$hiscnt", "del-$hist" ); } print ""; print "";