BUG 9285 A PM Table DynaForm field cant' be filled beacuse the ... SOLVED
- The array sent to grid don't contains the key "PRO_VARIABLE" - Added the key "PRO_VARIABLE" to the array sent to grid
This commit is contained in:
@@ -7,11 +7,10 @@ require_once('classes/model/AdditionalTables.php');
|
||||
$c = 1;
|
||||
foreach ($aData['FIELDS'] as $iRow => $aRow) {
|
||||
if ($aRow['FLD_KEY'] == 1) {
|
||||
$aRow['PRO_VARIABLE'] = '';
|
||||
$aFields['FIELDS'][$c++] = $aRow;
|
||||
}
|
||||
}
|
||||
//g::pr($aFields['FIELDS']); die;
|
||||
|
||||
$aFields['DYN_UID'] = $_POST['DYN_UID'];
|
||||
$aFields['ADD_TABLE'] = $_POST['ADD_TABLE'];
|
||||
$aFields['PRO_UID'] = $_POST['PRO_UID'];
|
||||
@@ -26,5 +25,5 @@ require_once('classes/model/AdditionalTables.php');
|
||||
$G_PUBLISH = new Publisher();
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'dynaforms/dynaforms_AssignVariables', '', $aFields, SYS_URI . 'dynaforms/dynaforms_Save');
|
||||
|
||||
G::RenderPage( "publish-raw" , "raw" );
|
||||
G::RenderPage('publish-raw', 'raw');
|
||||
?>
|
||||
Reference in New Issue
Block a user