Revision be47ce7f
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
SL/AM.pm | ||
---|---|---|
825 | 825 |
qq|SELECT count(id) = 0 AS orphaned |
826 | 826 |
FROM parts |
827 | 827 |
WHERE buchungsgruppen_id = ?|; |
828 |
($form->{orphaned}) = selectrow_arra($query, undef, $form->{id}); |
|
829 |
$form->dberror($query . " ($form->{id})") if ($dbh->err); |
|
828 |
($form->{orphaned}) = selectrow_query($form, $dbh, $query, $form->{id}); |
|
830 | 829 |
} |
831 | 830 |
|
832 | 831 |
$query = "SELECT inventory_accno_id, income_accno_id, expense_accno_id ". |
833 | 832 |
"FROM defaults"; |
834 | 833 |
($form->{"std_inventory_accno_id"}, $form->{"std_income_accno_id"}, |
835 |
$form->{"std_expense_accno_id"}) = $dbh->selectrow_array($query);
|
|
834 |
$form->{"std_expense_accno_id"}) = selectrow_query($form, $dbh, $query);
|
|
836 | 835 |
|
837 | 836 |
my $module = "IC"; |
838 | 837 |
$query = qq|SELECT c.accno, c.description, c.link, c.id, |
Auch abrufbar als: Unified diff
Falsche Funktionsaufrufe. Fix für Bugzilla ID 560.