mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-06 13:34:34 -04:00
Strip Tags from Paypal noteS
This commit is contained in:
parent
bc427c97cf
commit
a0ffcd78f0
@ -211,7 +211,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
return new Item([
|
return new Item([
|
||||||
'name' => $lineItem->product_key,
|
'name' => $lineItem->product_key,
|
||||||
'description' => substr($lineItem->notes, 0, 100),
|
'description' => substr(strip_tags($lineItem->notes), 0, 100),
|
||||||
'price' => $lineItem->cost,
|
'price' => $lineItem->cost,
|
||||||
'quantity' => $lineItem->quantity,
|
'quantity' => $lineItem->quantity,
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user