Revision 4bd1e2f8
Von Sven Schöling vor etwa 9 Jahren hinzugefügt
bin/mozilla/wh.pl | ||
---|---|---|
455 | 455 |
# Anm. jb 18.3. vielleicht auch nur meine unwissenheit in perl-datenstrukturen |
456 | 456 |
my %TRANSFER = ( |
457 | 457 |
'transfer_type' => 'assembly', |
458 |
'login' => $form->{login},
|
|
458 |
'login' => $::myconfig{login},
|
|
459 | 459 |
'dst_warehouse_id' => $form->{warehouse_id}, |
460 | 460 |
'dst_bin_id' => $form->{bin_id}, |
461 | 461 |
'chargenumber' => $form->{chargenumber}, |
... | ... | |
972 | 972 |
|
973 | 973 |
my $msg = $locale->text('No warehouse has been created yet or the quantity of the bins is not configured yet.') . ' '; |
974 | 974 |
|
975 |
if ($main::auth->check_right($form->{login}, 'config')) {
|
|
975 |
if ($main::auth->check_right($::myconfig{login}, 'config')) {
|
|
976 | 976 |
$msg .= $locale->text('You can create warehouses and bins via the menu "System -> Warehouses".'); |
977 | 977 |
} else { |
978 | 978 |
$msg .= $locale->text('Please ask your administrator to create warehouses and bins.'); |
Auch abrufbar als: Unified diff
login nicht aus $::form nehmen. Teil 1