View Issue Details

IDProjectCategoryView StatusLast Update
0006487OXID eShop (all versions)4.07. Source code, Testpublic2016-11-15 07:50
ReporterWaldgeist 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.10.1 / 5.3.1 
Target VersionFixed in Version 
Summary0006487: Accessing uninitialized class variable in oxEmail
DescriptionThe 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
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionAll
MySQL VersionAll

Activities

QA

2016-08-23 08:39

administrator   ~0011749

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