CMS MADE SIMPLE FORGE

Frontend Users

 

[#12065] Failing on editing Dropdown/MultiSelectList/RadioButtons user properties

avatar
Created By: Michael Stegbauer (goldfloppy)
Date Submitted: Wed Jul 03 11:01:26 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 2.14.3.1
CMSMS Version: 2.2.10
Severity: Major
Resolution: None
State: Open
Summary:
Failing on editing Dropdown/MultiSelectList/RadioButtons user properties
Detailed Description:
The values should be typed in separate lines. 
The submitted values however become one line with "
" instead of
linebreaks.

For example:
"Option 1
Option 2
Option 3"

becomes
"Option 1
Option 2
Option 3"

I fixed this issue temporarily for me by changing
   $tmp = explode("\n", $seloptions);
to
   $tmp = explode("
", $seloptions);
in action.addprop.php


History