mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-06-24 07:21:11 -04:00
fix(security): Escape attribute value in register
This commit is contained in:
@@ -179,7 +179,7 @@ helper('url');
|
||||
<?php } else { ?>
|
||||
<td><?= esc($item['item_number']) ?></td>
|
||||
<td style="text-align: center;">
|
||||
<?= esc($item['name']) . ' ' . implode(' ', [$item['attribute_values'], $item['attribute_dtvalues']]) ?>
|
||||
<?= esc($item['name']) . ' ' . esc(implode(' ', [$item['attribute_values'], $item['attribute_dtvalues']])) ?>
|
||||
<br>
|
||||
<?php if ($item['stock_type'] == '0'): echo '[' . to_quantity_decimals($item['in_stock']) . ' in ' . esc($item['stock_name']) . ']';
|
||||
endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user