Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from mkdgs/patch-1
Browse files Browse the repository at this point in the history
Fix: on order modification configuration is ignored
  • Loading branch information
kkhelifa-opendsi authored Apr 9, 2019
2 parents 5d4e7c3 + 815a134 commit f0ad35a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,11 @@ function runTrigger($action,$object,$user,$langs,$conf)
continue;
}

if (empty($site->parameters['realtime_dtoe']['order'])) {
dol_syslog("Triggers disabled from the config of the module");
continue;
}

if (! $error)
{
$eCommerceCommande = new eCommerceCommande($this->db);
Expand Down

0 comments on commit f0ad35a

Please sign in to comment.