From d474d344ca4da456830578b034c4f54ec45cdeba Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 20 Sep 2012 13:03:40 +0200 Subject: [PATCH] Speicherroutine darf nur auf "customer_vendor_edit" testen --- bin/mozilla/ct.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index 31c70d0cc..b1634cbe6 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -521,9 +521,7 @@ sub form_footer { } sub _do_save { - $main::auth->assert('customer_vendor_edit & ' . - '(general_ledger | invoice_edit | vendor_invoice_edit | ' . - ' request_quotation_edit | sales_quotation_edit | sales_order_edit | purchase_order_edit)'); + $main::auth->assert('customer_vendor_edit'); $::form->isblank("name", $::locale->text("Name missing!")); -- 2.20.1