From 8b73548d2a779edd88605536c5b2e4fea18bdf2f Mon Sep 17 00:00:00 2001 From: JoaoVictorLNacional Date: Fri, 15 Jan 2021 11:56:02 -0300 Subject: [PATCH] modificado if do callback --- modules/addons/gofasnfeio/callback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/addons/gofasnfeio/callback.php b/modules/addons/gofasnfeio/callback.php index 7acda2a..8333bf9 100644 --- a/modules/addons/gofasnfeio/callback.php +++ b/modules/addons/gofasnfeio/callback.php @@ -10,7 +10,7 @@ if ($post) { require_once __DIR__.'/functions.php'; - if (Capsule::table('gofasnfeio')->where('nfe_id', '=', $post['id'])->count() == 0 || $post['environment'] == 'Production') { + if (Capsule::table('gofasnfeio')->where('nfe_id', '=', $post['id'])->count() == 0 || $post['environment'] != 'Production') { return ''; }