use fulcrm_apiv2_client_id(); fixup problem with payload_error_msg

master
Marek Isalski 9 years ago
parent c484f7de6f
commit 449e8322d3

@ -152,9 +152,11 @@ function fulcrm_webhook_webhook( $uuid ) {
$payload = json_decode( file_get_contents( "php://input" ), $assoc = TRUE );
$payload_error = json_last_error();
$payload_error_msg = json_last_error_msg();
} else {
$payload_error_msg = 'no payload';
}
$client_id = variable_get( 'fulcrm_apiv2_client_id' );
$client_id = fulcrm_apiv2_client_id();
if ( fulcrm_apiv2_prevent_loop( $headers ) ) {
$op = null;

Loading…
Cancel
Save