Skip to content

Commit 3318c82

Browse files
sanitize output
1 parent 6579af1 commit 3318c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/paystack-invoice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function kkd_format_metadata($data)
7373
<label class="label inline">Amount:</label>
7474
<strong><?php echo esc_html($currency.number_format($dbdata->amount)); ?></strong>
7575
</div>
76-
<?php echo kkd_format_metadata($dbdata->metadata); ?>
76+
<?php echo esc_html(kkd_format_metadata($dbdata->metadata)); ?>
7777

7878
<div class="span12 unit">
7979
<label class="label inline">Date:</label>

0 commit comments

Comments
 (0)