View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005317 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2013-07-29 14:41 | 2014-02-21 14:28 |
Reporter | united20 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.6 / 5.0.6 | ||||
Fixed in Version | 4.9.0_5.2.0_beta1 | ||||
Summary | 0005317: Compare of a non existing objects in basketcontents.tpl on Azure theme | ||||
Description | On the template basketcontents.tpl in line 189 you compare two non existing objects. In some cases one object is null. Wrong code: [{if $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice() }] Workaround: [{if $dRegUnitPrice && $dUnitPrice && $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice() }] | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Reminder sent to: united20 Thank you very much for your bug report. As we saw, you already submitted a complete solution for this issue. If you feel fancy, you'd also have the possibility to contribute your changes directly to our GitHub repository on https://github.com/OXID-eSales/oxideshop_ce/. Please leave a note there with the bug number you fixed so we can close this issue in the bug tracker." |
|
Added check if elements are not null before comparing them |