From: Moritz Bunkus Date: Thu, 20 Sep 2012 11:03:40 +0000 (+0200) Subject: Speicherroutine darf nur auf "customer_vendor_edit" testen X-Git-Tag: release-3.0.0beta1~232^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d474d344ca4da456830578b034c4f54ec45cdeba;p=kivitendo-erp.git Speicherroutine darf nur auf "customer_vendor_edit" testen --- 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!"));