Project

General

Profile

Actions

Bug #3402

closed

Radio and select fields outputting PHP/CSV pass strings to array format function

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
28 March 2012
Due date:
% Done:

100%

Estimated time:
3:00 h

Description

When outputting the PHP or CSV or a Select or Radio field it results in a string being passed to _arrayToFormat and causes the below warning and results in no value returned.

Warning: implode() [function.implode]: Invalid arguments passed in administrator\components\com_comprofiler\plugin.class.php on line 1396

https://www.joomlapolis.com/forum/153-professional-member-support/195796-kunena-gender#195841


Files

3402.patch (1.77 KB) 3402.patch krileon, 28 March 2012 17:54
cb.core.php (172 KB) cb.core.php krileon, 28 March 2012 17:54

Updated by krileon over 12 years ago

Patch applies proper formatting. CB 1.8 pre-patched file included for quick fix.

Actions #2

Updated by krileon over 12 years ago

  • Subject changed from Radio and select fields outputting PHP/CSV pass strings to array fromat function to Radio and select fields outputting PHP/CSV pass strings to array format function
Actions #3

Updated by beat over 12 years ago

  • Target version changed from CB 1.8.1 to CB 1.9
Actions #4

Updated by beat about 12 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from beat to krileon
  • Estimated time set to 3:00 h

r1887 is imho a better alternate fix to output correctly name => value for non-array field-types.

Actions #5

Updated by beat about 12 years ago

  • Status changed from Feedback to Closed

Kyle 31.12.2012 18:45: looks fine and seams to work fine

Great! Closing then this as fixed.

Actions

Also available in: Atom PDF