Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Liberalize option name query
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Feb 9, 2021
1 parent a0e464e commit a4d8dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/products_attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@
<div class="col-3">
<select name="option_id" class="form-control">
<?php
$options = tep_db_query("SELECT products_options_id, products_options_name FROM products_options WHERE language_id = '" . $_SESSION['languages_id'] . "' ORDER BY products_options_name");
$options = tep_db_query("SELECT * FROM products_options WHERE language_id = '" . $_SESSION['languages_id'] . "' ORDER BY products_options_name");
while ($options_values = $options->fetch_assoc()) {
echo '<option name="' . $options_values['products_options_name'] . '" value="' . $options_values['products_options_id'] . '">' . $options_values['products_options_name'] . '</option>';
}
Expand Down

0 comments on commit a4d8dc0

Please sign in to comment.