Changeset 2973004
- Timestamp:
- 09/29/2023 12:15:04 PM (2 years ago)
- Location:
- kintone-form
- Files:
-
- 6 edited
- 1 copied
-
tags/2.27.1 (copied) (copied from kintone-form/trunk)
-
tags/2.27.1/includes/class-kintone-form-post-kintone.php (modified) (1 diff)
-
tags/2.27.1/kintone-form.php (modified) (1 diff)
-
tags/2.27.1/readme.txt (modified) (2 diffs)
-
trunk/includes/class-kintone-form-post-kintone.php (modified) (1 diff)
-
trunk/kintone-form.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kintone-form/tags/2.27.1/includes/class-kintone-form-post-kintone.php
r2767323 r2973004 99 99 100 100 // kintoneに設定されている全フィールドをループ. 101 102 foreach ( $appdata['formdata']['properties'] as $kintone_form_properties_data ) { 103 104 if ( isset( $kintone_form_properties_data['code'] ) ) { 105 if ( 'SUBTABLE' === $kintone_form_properties_data['type'] ) { 106 /** 107 * SUBTABLEの処理. 108 */ 109 $subtable_records = array(); 110 $subtable_records = apply_filters( 111 'kintone_form_subtable', 112 $subtable_records, 113 $appdata, 114 $kintone_form_properties_data, 115 $kintone_setting_data, 116 $cf7_send_data, 117 $kintone_fields_and_cf7_mailtag_relate_data, 118 $e 119 ); 120 121 if ( ! empty( $subtable_records ) ) { 122 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $subtable_records; 123 } 124 } else { 125 // 通常処理. 126 $post_data = $this->generate_format_kintone_data( $kintone_setting_data, $appdata, $kintone_fields_and_cf7_mailtag_relate_data, $kintone_form_properties_data, $cf7_send_data, $e ); 127 if ( isset( $post_data['value'] ) ) { 128 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $post_data; 101 if (isset($appdata['formdata']['properties']) && (is_array($appdata['formdata']['properties']) || is_object($appdata['formdata']['properties']))) { 102 foreach ( $appdata['formdata']['properties'] as $kintone_form_properties_data ) { 103 104 if ( isset( $kintone_form_properties_data['code'] ) ) { 105 if ( 'SUBTABLE' === $kintone_form_properties_data['type'] ) { 106 /** 107 * SUBTABLEの処理. 108 */ 109 $subtable_records = array(); 110 $subtable_records = apply_filters( 111 'kintone_form_subtable', 112 $subtable_records, 113 $appdata, 114 $kintone_form_properties_data, 115 $kintone_setting_data, 116 $cf7_send_data, 117 $kintone_fields_and_cf7_mailtag_relate_data, 118 $e 119 ); 120 121 if ( ! empty( $subtable_records ) ) { 122 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $subtable_records; 123 } 124 } else { 125 // 通常処理. 126 $post_data = $this->generate_format_kintone_data( $kintone_setting_data, $appdata, $kintone_fields_and_cf7_mailtag_relate_data, $kintone_form_properties_data, $cf7_send_data, $e ); 127 if ( isset( $post_data['value'] ) ) { 128 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $post_data; 129 } 129 130 } 130 131 } -
kintone-form/tags/2.27.1/kintone-form.php
r2897736 r2973004 4 4 * Plugin URI: 5 5 * Description: This plugin is an addon for "Contact Form 7". 6 * Version: 2.27. 06 * Version: 2.27.1 7 7 * Author: Takashi Hosoya 8 8 * Author URI: http://ht79.info/ -
kintone-form/tags/2.27.1/readme.txt
r2897736 r2973004 6 6 Tags: cybozu, kintone, contact form 7, form, form data to kintone 7 7 Requires at least: 4.9 8 Tested up to: 6. 29 Stable tag: 2.27. 010 Requires PHP: 7. 18 Tested up to: 6.3.1 9 Stable tag: 2.27.1 10 Requires PHP: 7.4 11 11 License: GPLv2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 2.27.1 (2023-09-29) 53 * Fixed foreach() argument must be of type array|object, null given in /wp-content/plugins/kintone-form/includes/class-kintone-form-post-kintone.php on line 102 54 * Fully tested with Contact Form 7 version 5.8.1 55 52 56 2.27.0 (2023-04-12) 53 57 * Changed the method of obtaining CF7_SPECIAL_TAGS. -
kintone-form/trunk/includes/class-kintone-form-post-kintone.php
r2767323 r2973004 99 99 100 100 // kintoneに設定されている全フィールドをループ. 101 102 foreach ( $appdata['formdata']['properties'] as $kintone_form_properties_data ) { 103 104 if ( isset( $kintone_form_properties_data['code'] ) ) { 105 if ( 'SUBTABLE' === $kintone_form_properties_data['type'] ) { 106 /** 107 * SUBTABLEの処理. 108 */ 109 $subtable_records = array(); 110 $subtable_records = apply_filters( 111 'kintone_form_subtable', 112 $subtable_records, 113 $appdata, 114 $kintone_form_properties_data, 115 $kintone_setting_data, 116 $cf7_send_data, 117 $kintone_fields_and_cf7_mailtag_relate_data, 118 $e 119 ); 120 121 if ( ! empty( $subtable_records ) ) { 122 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $subtable_records; 123 } 124 } else { 125 // 通常処理. 126 $post_data = $this->generate_format_kintone_data( $kintone_setting_data, $appdata, $kintone_fields_and_cf7_mailtag_relate_data, $kintone_form_properties_data, $cf7_send_data, $e ); 127 if ( isset( $post_data['value'] ) ) { 128 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $post_data; 101 if (isset($appdata['formdata']['properties']) && (is_array($appdata['formdata']['properties']) || is_object($appdata['formdata']['properties']))) { 102 foreach ( $appdata['formdata']['properties'] as $kintone_form_properties_data ) { 103 104 if ( isset( $kintone_form_properties_data['code'] ) ) { 105 if ( 'SUBTABLE' === $kintone_form_properties_data['type'] ) { 106 /** 107 * SUBTABLEの処理. 108 */ 109 $subtable_records = array(); 110 $subtable_records = apply_filters( 111 'kintone_form_subtable', 112 $subtable_records, 113 $appdata, 114 $kintone_form_properties_data, 115 $kintone_setting_data, 116 $cf7_send_data, 117 $kintone_fields_and_cf7_mailtag_relate_data, 118 $e 119 ); 120 121 if ( ! empty( $subtable_records ) ) { 122 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $subtable_records; 123 } 124 } else { 125 // 通常処理. 126 $post_data = $this->generate_format_kintone_data( $kintone_setting_data, $appdata, $kintone_fields_and_cf7_mailtag_relate_data, $kintone_form_properties_data, $cf7_send_data, $e ); 127 if ( isset( $post_data['value'] ) ) { 128 $kintone_post_data[ $app_count ]['datas'][ $kintone_form_properties_data['code'] ] = $post_data; 129 } 129 130 } 130 131 } -
kintone-form/trunk/kintone-form.php
r2897736 r2973004 4 4 * Plugin URI: 5 5 * Description: This plugin is an addon for "Contact Form 7". 6 * Version: 2.27. 06 * Version: 2.27.1 7 7 * Author: Takashi Hosoya 8 8 * Author URI: http://ht79.info/ -
kintone-form/trunk/readme.txt
r2897736 r2973004 6 6 Tags: cybozu, kintone, contact form 7, form, form data to kintone 7 7 Requires at least: 4.9 8 Tested up to: 6. 29 Stable tag: 2.27. 010 Requires PHP: 7. 18 Tested up to: 6.3.1 9 Stable tag: 2.27.1 10 Requires PHP: 7.4 11 11 License: GPLv2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 2.27.1 (2023-09-29) 53 * Fixed foreach() argument must be of type array|object, null given in /wp-content/plugins/kintone-form/includes/class-kintone-form-post-kintone.php on line 102 54 * Fully tested with Contact Form 7 version 5.8.1 55 52 56 2.27.0 (2023-04-12) 53 57 * Changed the method of obtaining CF7_SPECIAL_TAGS.
Note: See TracChangeset
for help on using the changeset viewer.