From: Bernd Bleßmann Date: Wed, 24 Oct 2012 12:14:30 +0000 (+0200) Subject: Richtig prüfen, ob Konten, die als Automatikkonten für andere Konten dienen, geändert... X-Git-Tag: release-3.0.0beta1~94^2~2^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9e74650439b45a7f9b366115f9ad066ee2d02b81;hp=6ef5196419d73eab253d650b3219450b07f62c08;p=kivitendo-erp.git Richtig prüfen, ob Konten, die als Automatikkonten für andere Konten dienen, geändert werden können. --- diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index f967c7975..1aca213e0 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -336,7 +336,7 @@ sub account_header { # account where AR_tax or AP_tax is set are not orphaned if they are used as # tax-o-matic account - if ( $form->{id} && !$form->{orphaned} && ($form->{link} =~ m/(AP_tax|AR_tax)/) ) { + if ( $form->{id} && $form->{orphaned} && ($form->{link} =~ m/(AP_tax|AR_tax)/) ) { if (SL::DB::Manager::Tax->find_by(chart_id => $form->{id})) { $form->{orphaned} = 0; }