mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update contact_urls.php
This commit is contained in:
@@ -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";
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user