projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
032f3c6
)
CT->get_contact - Fehlerhaften Aufruf abfangen.
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Feb 2012 12:22:56 +0000
(13:22 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Feb 2012 12:22:56 +0000
(13:22 +0100)
SL/CT.pm
patch
|
blob
|
history
diff --git
a/SL/CT.pm
b/SL/CT.pm
index
b46ee09
..
4fbb583
100644
(file)
--- a/
SL/CT.pm
+++ b/
SL/CT.pm
@@
-868,6
+868,9
@@
sub get_contact {
$main::lxdebug->enter_sub();
my ( $self, $myconfig, $form ) = @_;
+
+ die 'Missing argument: cp_id' unless $::form->{cp_id};
+
my $dbh = $form->dbconnect($myconfig);
my $query =
qq|SELECT * FROM contacts c | .