Project

General

Profile

Actions

Bug #2960

closed

CB 1.7.1 substitution check uses language string value instead of stored field value

Added by nant over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06 November 2011
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

As described here:

https://www.joomlapolis.com/forum/253-potential-bug-122/173887-email-message-merge

Verified on my local testing.

[cb:if cb_sex="_MALE"] Mr.[/cb:if][cb:if cb_sex="_FEMALE"] Mrs[/cb:if]

Looks like the comparison is testing cb_sex against the translated value of _MALE instead of the database stored value of _MALE.


Files

2960.patch (1.31 KB) 2960.patch krileon, 01 February 2012 18:43
2960_rev1.patch (1.35 KB) 2960_rev1.patch krileon, 01 February 2012 18:47

Related issues 1 (0 open1 closed)

Related to CB - Bug #3156: API: getField for radio and single-select field types: PHP, XML and JSON modes return array of the values instead of the valueClosedbeat18 January 2012

Actions
Actions

Also available in: Atom PDF