X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fopac-readingrecord.pl;h=3e78c9a29b0769601ec827a603cbfc3f62509bd0;hb=a29a5df175f4112302de71456d4f21d0dd7f48cf;hp=6872660c306ee260a8c571e9ecbf493b553178a6;hpb=d5542514d22ca5b9fc6bfb4fb8b6db61e3a512b5;p=koha_fer diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index 6872660c30..3e78c9a29b 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -11,9 +11,9 @@ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along with -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; @@ -89,8 +89,8 @@ foreach my $issue (@{$issues} ) { $line{title} = $issue->{'title'}; $line{author} = $issue->{'author'}; $line{itemcallnumber} = $issue->{'itemcallnumber'}; - $line{date_due} = format_sqlduedatetime( $issue->{date_due} ); - $line{returndate} = format_sqldatetime( $issue->{returndate} ); + $line{date_due} = $issue->{'date_due'}; + $line{returndate} = $issue->{'returndate'}; $line{volumeddesc} = $issue->{'volumeddesc'}; $issue->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $issue->{'itype'} : $issue->{'itemtype'}; if($issue->{'itemtype'}) {