@@ -1421,17 +1421,17 @@ public function showInputField($key, $value, $moreparam = '', $keysuffix = '', $
14211421 $ parentField = '' ;
14221422 $ keyList = (empty ($ InfoFieldList [2 ]) ? 'rowid ' : $ InfoFieldList [2 ].' as rowid ' );
14231423
1424- if (count ($ InfoFieldList ) > 3 && !empty ($ InfoFieldList [3 ])) {
1425- list ($ parentName , $ parentField ) = explode ('| ' , $ InfoFieldList [3 ]);
1426- $ keyList .= ', ' .$ parentField ;
1427- }
14281424 if (count ($ InfoFieldList ) > 4 && !empty ($ InfoFieldList [4 ])) {
14291425 if (strpos ($ InfoFieldList [4 ], 'extra. ' ) !== false ) {
14301426 $ keyList = 'main. ' .$ InfoFieldList [2 ].' as rowid ' ;
14311427 } else {
14321428 $ keyList = $ InfoFieldList [2 ].' as rowid ' ;
14331429 }
14341430 }
1431+ if (count ($ InfoFieldList ) > 3 && !empty ($ InfoFieldList [3 ])) {
1432+ list ($ parentName , $ parentField ) = explode ('| ' , $ InfoFieldList [3 ]);
1433+ $ keyList .= ', ' .$ parentField ;
1434+ }
14351435
14361436 $ filter_categorie = false ;
14371437 if (count ($ InfoFieldList ) > 5 ) {
@@ -1647,17 +1647,17 @@ public function showInputField($key, $value, $moreparam = '', $keysuffix = '', $
16471647 $ parentField = '' ;
16481648 $ keyList = (empty ($ InfoFieldList [2 ]) ? 'rowid ' : $ InfoFieldList [2 ].' as rowid ' );
16491649
1650- if (count ($ InfoFieldList ) > 3 && !empty ($ InfoFieldList [3 ])) {
1651- list ($ parentName , $ parentField ) = explode ('| ' , $ InfoFieldList [3 ]);
1652- $ keyList .= ', ' .$ parentField ;
1653- }
16541650 if (count ($ InfoFieldList ) > 4 && !empty ($ InfoFieldList [4 ])) {
16551651 if (strpos ($ InfoFieldList [4 ], 'extra. ' ) !== false ) {
16561652 $ keyList = 'main. ' .$ InfoFieldList [2 ].' as rowid ' ;
16571653 } else {
16581654 $ keyList = $ InfoFieldList [2 ].' as rowid ' ;
16591655 }
16601656 }
1657+ if (count ($ InfoFieldList ) > 3 && !empty ($ InfoFieldList [3 ])) {
1658+ list ($ parentName , $ parentField ) = explode ('| ' , $ InfoFieldList [3 ]);
1659+ $ keyList .= ', ' .$ parentField ;
1660+ }
16611661
16621662 $ filter_categorie = false ;
16631663 if (count ($ InfoFieldList ) > 5 ) {
0 commit comments