]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Ansprechpersonensuche: überflüssigen Parameter 'db' entfernt
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 7 May 2013 08:25:34 +0000 (10:25 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 7 May 2013 08:35:48 +0000 (10:35 +0200)
SL/CT.pm
menu.ini
templates/webpages/ct/search_contact.html

index 97f57c72c5510a684ef82521d4af00c77f1d2bfc..bf4aad4482c364594a65b3773a9e4edfbc109f91 100644 (file)
--- a/SL/CT.pm
+++ b/SL/CT.pm
@@ -1156,7 +1156,6 @@ sub search_contacts {
   my %params    = @_;
 
   my $dbh       = $params{dbh} || $::form->get_standard_dbh;
-  my $vc        = $params{db} eq 'customer' ? 'customer' : 'vendor';
 
   my %sortspecs = (
     'cp_name'   => 'cp_name, cp_givenname',
index 5f85eed4cddb4bcb507476bcdef66d5f183125b8..a974868bce7c63e8fd723504a609ba12c9968b2b 100644 (file)
--- a/menu.ini
+++ b/menu.ini
@@ -62,7 +62,6 @@ db=vendor
 ACCESS=customer_vendor_edit
 module=ct.pl
 action=search_contact
-db=customer
 
 [Master Data--Reports--Parts]
 ACCESS=part_service_assembly_edit
index 389328abe0d886d8aa6029323b33ca59a7f74021..f5277bf9687c2fa4731b1651b6dff690904da51a 100644 (file)
@@ -4,8 +4,6 @@
 [%- USE LxERP %]
  <form method="post" action="ct.pl" name="Form">
 
-  <input type="hidden" name="db" value="[% db | html %]">
-
   <div class="listtop">[% 'Contacts' | $T8 %]</div>
 
   <table>