diff --git a/application/IvtCustomer/IvtCustomerController.php b/application/IvtCustomer/IvtCustomerController.php index 0870d3c4f..c70908c35 100644 --- a/application/IvtCustomer/IvtCustomerController.php +++ b/application/IvtCustomer/IvtCustomerController.php @@ -85,7 +85,7 @@ class IvtCustomerController extends mfBaseController { $ivtc->paper_invoice = 1; } - $ivtc->MandatID = ($contact->spin) ? $contract->spin : 1; + $ivtc->MandatID = ($contact->spin) ? $contact->spin : 1; $ivtc->egn = 0; // 0=keine;1=pdf;2=cdr $ivtc->accept_adver = ($order->allow_contact) ? 2 : 1;