Skip to content
Permalink
Browse files Browse the repository at this point in the history
Update contact_urls.php
  • Loading branch information
markjcrane committed Aug 13, 2019
1 parent bcc75d6 commit a76d963
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/contacts/contact_urls.php
Expand Up @@ -38,6 +38,11 @@
exit;
}

//set the uuid
if (is_uuid($_GET['id'])) {
$contact_uuid = $_GET['id'];
}

//show the content
echo "<table width='100%' border='0'>\n";
echo "<tr>\n";
Expand Down Expand Up @@ -69,7 +74,7 @@
echo "<th>".$text['label-url_description']."</th>\n";
echo "<td class='list_control_icons'>";
if (permission_exists('contact_url_add')) {
echo "<a href='contact_url_edit.php?contact_uuid=".$_GET['id']."' alt='".$text['button-add']."'>$v_link_label_add</a>";
echo "<a href='contact_url_edit.php?contact_uuid=".urlencode($contact_uuid)."' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
echo "</td>\n";
echo "</tr>\n";
Expand Down

0 comments on commit a76d963

Please sign in to comment.