View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006487 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2016-08-22 11:34 | 2024-03-27 09:33 |
Reporter | Waldgeist | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.10.1 / 5.3.1 | ||||
Fixed in Version | 6.0.0-beta.1 | ||||
Summary | 0006487: Accessing uninitialized class variable in oxEmail | ||||
Description | The variable $_oConfig that is accessed in oxEmail in getConfig and setConfig is not initialized as a class variable, so PHP is throwing warnings for every call of those functions. Please add $_oConfig as a class variable. Also maybe use isset to check if variable isset? Feels more idiomatic to PHP than checking for equals null. Nitpicking I know :D | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | All | ||||
Database Version | All | ||||
|
Bug has already been fixed and will be fixed in the next major release. https://github.com/OXID-eSales/oxideshop_ce/blob/master/source/Core/Email.php |