Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cd96e075

Von Bernd Bleßmann vor mehr als 5 Jahren hinzugefügt

  • ID cd96e0755c449d408657785922a05b702d3d0cad
  • Vorgänger 0ca195cd
  • Nachfolger b8cc78d7

Kontoeinstellungen: Folgekonto kann nicht das Konto selbst sein.

behebt #329
"Konto mit identischem Folgekonto führt zu Endlosschlaufe"

Unterschiede anzeigen:

SL/AM.pm
114 114
    }
115 115

  
116 116
    # get new accounts (Folgekonto). Find all charts with the same link
117
    $form->{NEWACCOUNT} = $chart_obj->db->dbh->selectall_arrayref('select id, accno,description from chart where link = ? order by accno', {Slice => {}}, $chart_obj->link);
117
    $form->{NEWACCOUNT} = $chart_obj->db->dbh->selectall_arrayref('select id, accno,description from chart where link = ? and id != ? order by accno', {Slice => {}}, $chart_obj->link, $form->{id});
118 118

  
119 119
  } else { # set to orphaned for new charts, so chart_type can be changed (needed by $AccountIsPosted)
120 120
    $form->{orphaned} = 1;

Auch abrufbar als: Unified diff