diff --git a/core/modules/modIdsconnect.class.php b/core/modules/modIdsconnect.class.php index 5e0816f..8fbe5c1 100755 --- a/core/modules/modIdsconnect.class.php +++ b/core/modules/modIdsconnect.class.php @@ -59,7 +59,7 @@ class modIdsconnect extends DolibarrModules $this->editor_name = 'Alles Watt laeuft'; $this->editor_url = ''; - $this->version = '3.1'; + $this->version = '3.2'; $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); diff --git a/launch.php b/launch.php index 04abe0e..522882d 100755 --- a/launch.php +++ b/launch.php @@ -278,7 +278,7 @@ if ($action === 'WKS' && !empty($cart_lines) && $confirm_wks !== 'yes') { // Bei WKS: Bestellstatus auf "Bestellt" setzen if ($action === 'WKS' && $fk_commande > 0 && isset($order) && $order->id > 0) { if ($order->statut == CommandeFournisseur::STATUS_ACCEPTED) { - $order->commande($user); + $order->commande($user, dol_now(), 0); dol_syslog("IDS Connect: Bestellstatus auf 'Bestellt' gesetzt für Bestellung #".$order->id, LOG_INFO); } }