Bugzilla – Attachment 12273 Details for
Bug 8382
It is not possible to cancel an order when receiving on a filtered page in parcel.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8382: Followup: FIX wrong comparaison
Bug-8382-Followup-FIX-wrong-comparaison.patch (text/plain), 972 bytes, created by
Jonathan Druart
on 2012-09-17 12:04:42 UTC
(
hide
)
Description:
Bug 8382: Followup: FIX wrong comparaison
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-09-17 12:04:42 UTC
Size:
972 bytes
patch
obsolete
>From bc6ac0980635a2ee1f5dbb9817308dff62c37ac5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 17 Sep 2012 14:04:12 +0200 >Subject: [PATCH] Bug 8382: Followup: FIX wrong comparaison > >--- > acqui/parcel.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/parcel.pl b/acqui/parcel.pl >index 1c1736d..aa9a569 100755 >--- a/acqui/parcel.pl >+++ b/acqui/parcel.pl >@@ -79,7 +79,7 @@ my $freight=$input->param('freight'); > my $input_gst = ($input->param('gst') eq '' ? undef : $input->param('gst')); > my $gst= $input_gst // $bookseller->{gstrate} // C4::Context->preference("gist") // 0; > my $op = $input->param('op') // ''; >-my $datereceived = ( $op eq ('new' or 'search' ) ) >+my $datereceived = ( $op eq 'new' or $op eq 'search' ) > ? C4::Dates->new($input->param('datereceived')) > : C4::Dates->new($input->param('datereceived'), 'iso'); > $datereceived = C4::Dates->new() unless $datereceived; >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8382
:
10701
|
10702
|
11142
|
11630
|
11631
|
11653
|
11982
|
12272
|
12273
|
12913