]> mj.ucw.cz Git - pciids.git/commitdiff
Return missing select button
authorMichal Vaner <vorner@ucw.cz>
Tue, 4 Nov 2008 09:23:59 +0000 (10:23 +0100)
committerMichal Vaner <vorner@ucw.cz>
Tue, 4 Nov 2008 09:23:59 +0000 (10:23 +0100)
The button was missing in deletion requests

PciIds/Html/Admin.pm

index 31833f2e82e2faea01d8f130aa8c4eb7d61fb623..06f8fafe767e895a76659b47b6004fec6f1a8d6a 100644 (file)
@@ -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 "<input type='hidden' name='owner-$hist' value='$locId'>";
                print "<input type='hidden' name='his-$cnt-$subcnt' value='$hist'>";