mirror of https://github.com/itflow-org/itflow
Fixed Products listing broken due to unused funtion get_currency
This commit is contained in:
parent
4182e43b5e
commit
6f40a4f458
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
<div class="form-group">
|
||||
<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 class="form-group">
|
||||
|
|
|
|||
|
|
@ -86,8 +86,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
|
|||
|
||||
while($row = mysqli_fetch_array($sql)){
|
||||
$product_id = $row['product_id'];
|
||||
$product_name = $row['product_name'];
|
||||
$product_description = $row['product_description'];
|
||||
$product_name = htmlentities($row['product_name']);
|
||||
$product_description = htmlentities($row['product_description']);
|
||||
if(empty($product_description)){
|
||||
$product_description_display = "-";
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Reference in New Issue