X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fopac-tags.pl;h=a0ed52311013360c00eb4fd74bedba8b15fa81b2;hb=3e131101911fda60580b1dd757d078c172f19c3b;hp=b5ce340b954a58a2c78bcc7e91e688fd77e87fa5;hpb=c0234dd9b9649063acf2617fecf5c6efda38a532;p=koha_fer diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl index b5ce340b95..a0ed523110 100755 --- a/opac/opac-tags.pl +++ b/opac/opac-tags.pl @@ -38,12 +38,13 @@ use CGI::Cookie; # need to check cookies before having CGI parse the POST reques use C4::Auth qw(:DEFAULT check_cookie_auth); use C4::Context; use C4::Debug; -use C4::Output 3.02 qw(:html :ajax pagination_bar); -use C4::Dates qw(format_date); +use C4::Output qw(:html :ajax pagination_bar); use C4::Scrubber; use C4::Biblio; use C4::Tags qw(add_tag get_approval_rows get_tag_rows remove_tag); +use Data::Dumper; + my %newtags = (); my @deltags = (); my %counts = (); @@ -53,7 +54,7 @@ my $perBibResults = {}; # Indexes of @errors that do not apply to a particular biblionumber. my @globalErrorIndexes = (); -sub ajax_auth_cgi ($) { # returns CGI object +sub ajax_auth_cgi { # returns CGI object my $needed_flags = shift; my %cookies = fetch CGI::Cookie; my $input = CGI->new; @@ -232,7 +233,6 @@ if ($loggedinuser) { my $date = $_->{date_created} || ''; $date =~ /\s+(\d{2}\:\d{2}\:\d{2})/; $_->{time_created_display} = $1; - $_->{date_created_display} = format_date($_->{date_created}); } }