projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SL::DB::Contact->detach nicht automatisch speichern lassen
[kivitendo-erp.git]
/
bin
/
mozilla
/
ct.pl
diff --git
a/bin/mozilla/ct.pl
b/bin/mozilla/ct.pl
index
5a579e9
..
3cafbd9
100644
(file)
--- a/
bin/mozilla/ct.pl
+++ b/
bin/mozilla/ct.pl
@@
-743,7
+743,7
@@
sub delete_contact {
my $contact = SL::DB::Manager::Contact->find_by(cp_id => $::form->{cp_id});
if ($contact->used) {
- $contact->detach;
+ $contact->detach
->save
;
flash('info', $::locale->text('Contact is in use and was flagged invalid.'));
} else {
$contact->delete;