View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006970 | OXID eShop (all versions) | 4. ------ eShop Core ------- | public | 2019-04-08 14:50 | 2019-04-12 09:37 |
Reporter | m4r73n | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 6.1.2 | ||||
Summary | 0006970: Article->hasAmountPrice() returns the wrong result | ||||
Description | Article->hasAmountPrice() returns if there is *any* article in the shop that has an amount price defined. It should return if *this article* has an amount price defined. The reason is that there's a WHERE missing in the SQL query: $sQ = "SELECT 1 FROM `oxprice2article` LIMIT 1"; It should be: $sQ = "SELECT 1 FROM `oxprice2article` WHERE `oxartid` = '" . $this->getId() . "'LIMIT 1"; | ||||
Tags | Article, Solution Provided | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||