View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006902 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2018-09-13 11:52 | 2018-09-17 12:49 |
Reporter | JCT | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 6.1.0 | ||||
Fixed in Version | 6.1.1 | ||||
Summary | 0006902: Product detail page logged in user – wrong return value FrontendController.isVatIncluded() | ||||
Description | If an registered user is logged in without UStID, the FrontendController returns the wrong value for VAT included. This is due to a type mismatch in PHP. The if statement has a explicit type comparison to null, the given value from the database is an empty string ''. (Line: 2952 | Application/Controller/FrontendController.php) | ||||
Steps To Reproduce | 1. Register a new user with account and leave the UStID fields empty. 2. Login as the new registered user 3. Open a product detail page | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
PR: https://github.com/OXID-eSales/oxideshop_ce/pull/666 |
|
With a new created user the prices have no * mark anymore after login. |