Fixed Products listing broken due to unused funtion get_currency

This commit is contained in:
johnnyq
2022-02-22 02:33:26 -05:00
parent 4182e43b5e
commit 6f40a4f458
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@
<div class="form-group"> <div class="form-group">
<label>Price <strong class="text-danger">*</strong></label> <label>Price <strong class="text-danger">*</strong></label>
<input type="number" step="0.01" min="0" class="form-control" name="price" placeholder="Price (<?php echo get_currency_symbol($session_company_currency); ?>)" required> <input type="number" step="0.01" min="0" class="form-control" name="price" placeholder="Price" required>
</div> </div>
<div class="form-group"> <div class="form-group">

View File

@@ -86,8 +86,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
while($row = mysqli_fetch_array($sql)){ while($row = mysqli_fetch_array($sql)){
$product_id = $row['product_id']; $product_id = $row['product_id'];
$product_name = $row['product_name']; $product_name = htmlentities($row['product_name']);
$product_description = $row['product_description']; $product_description = htmlentities($row['product_description']);
if(empty($product_description)){ if(empty($product_description)){
$product_description_display = "-"; $product_description_display = "-";
}else{ }else{