diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/api.php b/engine/lib/api.php index 75486d71c..4ca9e208c 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -891,10 +891,10 @@ $params, $api_header->method == 'POST' ? $api_header->posthash : ""); - if (strcmp( + if ((strcmp( $api_header->hmac, $hmac - )==0) + )==0) && ($api_header->hmac) && ($hmac)) { // Now make sure this is not a replay if (!cache_hmac_check_replay($hmac)) |