Bug 19258: Prevent warn when reversing a payment
[koha.git] / members / boraccount.pl
index 0cc9487..e7d769e 100755 (executable)
@@ -60,7 +60,7 @@ unless ( $patron ) {
 }
 
 if ( $action eq 'reverse' ) {
-  ReversePayment( $input->param('accountlines_id') );
+  ReversePayment( scalar $input->param('accountlines_id') );
 }
 
 if ( $patron->category->category_type eq 'C') {