Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2536b717

Von Sven Schöling vor mehr als 10 Jahren hinzugefügt

  • ID 2536b717d4c7ce36e0bd2a85a6fba9e81d980955
  • Vorgänger 361a37a3
  • Nachfolger 98896d56

2 Warnungen in den Tests beseitigen

Unterschiede anzeigen:

SL/DBUpgrade2/Base.pm
croak "File '${src_dir}/$_' does not exist" unless -f "${src_dir}/$_";
}
my $template_dir = $::instance_conf->reload->get_templates;
return 1 unless my $template_dir = $::instance_conf->reload->get_templates;
$::lxdebug->message(LXDebug::DEBUG1(), "add_print_templates: template_dir $template_dir");
return 1 if !$template_dir;
foreach my $src_file (@files) {
my $dest_file = $template_dir . '/' . $src_file;
SL/Form.pm
my $dbh = $self->get_standard_dbh(\%main::myconfig);
my ($sth, $query, $ref);
my $vc = $self->{"vc"} eq "customer" ? "customer" : "vendor";
my $vc_id = $self->{"${vc}_id"};
my ($vc, $vc_id);
if ($params{contacts} || $params{shipto}) {
$vc = 'customer' if $self->{"vc"} eq "customer";
$vc = 'vendor' if $self->{"vc"} eq "vendor";
die "invalid use of get_lists, need 'vc'";
$vc_id = $self->{"${vc}_id"};
}
if ($params{"contacts"}) {
$self->_get_contacts($dbh, $vc_id, $params{"contacts"});

Auch abrufbar als: Unified diff