Skip to content

Commit

Permalink
modificado if da checagem do callback
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoVictorLNacional committed Jan 15, 2021
1 parent 101e2f1 commit 3a23a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/addons/gofasnfeio/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
}

Expand Down

0 comments on commit 3a23a84

Please sign in to comment.