Skip to content

Commit

Permalink
modificado if do callback
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoVictorLNacional committed Jan 15, 2021
1 parent 3a23a84 commit 8b73548
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 8b73548

Please sign in to comment.