We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af44aab commit b2b884bCopy full SHA for b2b884b
includes/class-ajax.php
@@ -109,7 +109,7 @@ public function save_form() {
109
$integrations = array();
110
111
if ( isset( $post_data['settings'] ) ) {
112
- $settings = (array) json_decode( $post_data['settings'] );
+ $settings = json_decode( $post_data['settings'], true );
113
$settings['message'] = sanitize_text_field( $settings['message'] );
114
$settings['url'] = sanitize_url( $settings['url'] );
115
$settings['limit_message'] = sanitize_text_field( $settings['limit_message'] );
0 commit comments