Project

General

Profile

Actions

Bug #729

closed

WEBFORM wrong value on input form (Ingroups)

Added by Modulus SA almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Bugs
Target version:
-
Start date:
06/28/2013
Due date:
% Done:

0%

Estimated time:

Description

There is a bug in ingroups data entry form.

When you try to edit the "Web Form" property, the value stored is the value of the "Get Call Launch" property.

I searched a little bit the code and the problem is at file /var/www/html/application/views/go_ingroup/go_values.php line 46

A workaround solution follows.

Find:

                $webformdata = split('=', $itemsumitexplode[12]);
                $webformdata = htmlspecialchars(urldecode($webformdata[1]));
                $webformdata_field = split('=', $itemsumitexplode[12]);
                $webformdata_field = htmlspecialchars(urldecode($webformdata_field[0]));

Replace with:
                $webformdata = split('=', $itemsumitexplode[6]);
                $webformdata = htmlspecialchars(urldecode($webformdata[1]));
                $webformdata_field = split('=', $itemsumitexplode[6]);
                $webformdata_field = htmlspecialchars(urldecode($webformdata_field[0]));

Maybe a better solution was to match the field without an index, but I am not very confident with the code to fix it better.

Actions

Also available in: Atom PDF

Go to top