Skip to content

Commit

Permalink
Fix modification
Browse files Browse the repository at this point in the history
  • Loading branch information
mickenordin committed Feb 10, 2017
1 parent 9e2c95e commit b34022e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Thruk/Controller/api_conf.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1700,16 +1700,16 @@ sub contacts {
}
elsif ($contact and $attributes and $submit eq "Submit") {
$contacts_page .=
display_generic_confirmation( $c, $contact, "contacts",
display_generic_confirmation( $c, $mode, $contact, "contacts",
$attributes );
}
elsif ($contact) {
my %hidden = (
"page_type" => "contacts",
"contact" => $contact
);
my $endpoint = "objects/contacts/$contact";
$host_page .=
my $endpoint = "objects/users/$contact";
$contacts_page .=
display_modify_textbox( $c, \%hidden, $endpoint, @contact_keys );
}
else {
Expand Down

0 comments on commit b34022e

Please sign in to comment.