Opened 5 years ago
Last modified 5 years ago
#2001 closed Bug/Fehler
unnötiger Code - new_attributes.php — at Initial Version
| Reported by: | Volker Strähle | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.6.0 |
| Component: | Admin | Version: | trunk |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
In admin/includes_module/new_attributes.php findet sich auf ca. Zeile 200 folgender Code:
// Lets get all of the possible options
$query = "SELECT *
FROM ".TABLE_PRODUCTS_OPTIONS."
WHERE products_options_id LIKE '%'
AND language_id = '" . (int)$_SESSION['languages_id'] . "'
ORDER BY ". $option_order_by;
products_options_id LIKE '%' ist unnötig und führt zu einem langsammen tablescan.
Note:
See TracTickets
for help on using tickets.
