View Issue Details

IDProjectCategoryView StatusLast Update
0001728OXID eShop (all versions)4.06. Language and translationspublic2010-04-16 15:53
ReporterLG Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2.0 revision 23610 
Fixed in Version4.3.1 revision 27257 
Summary0001728: Incorrect language is set for pricealarm email message
DescriptionHi,

sendPriceAlarmNotification() loads article in incorrect language:

there is a check for active language

$iAlarmLang = $oShop->getLanguage();

which returns incorrect language.

Quick fix would be:

$iAlarmLang = $oAlarm->oxpricealarm__oxlang->rawValue;

OXID 4.2.0 EE, tested with lang=2.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

rimvydas_paskevicius

2010-04-13 15:45

reporter   ~0002520

Change alarm language getter in oxemail::sendPriceAlarmNotification() - from $iAlarmLang = $oShop->getLanguage() to $iAlarmLang = $oAlarm->oxpricealarm__oxlang->value;