View Issue Details

IDProjectCategoryView StatusLast Update
0006970OXID eShop (all versions)4. ------ eShop Core -------public2019-04-12 09:37
Reporterm4r73n 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version6.1.2 
Target VersionFixed in Version 
Summary0006970: Article->hasAmountPrice() returns the wrong result
DescriptionArticle->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";
TagsArticle, Solution Provided
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
MySQL VersionNot defined

Activities

There are no notes attached to this issue.