Update contact_notes.php
This commit is contained in:
parent
ccdb27536d
commit
80f2ce087a
|
|
@ -38,6 +38,11 @@
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//set the uuid
|
||||||
|
if (is_uuid($_GET['id'])) {
|
||||||
|
$contact_uuid = $_GET['id'];
|
||||||
|
}
|
||||||
|
|
||||||
//show the content
|
//show the content
|
||||||
echo "<table width='100%' border='0'>\n";
|
echo "<table width='100%' border='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
|
|
@ -70,7 +75,7 @@
|
||||||
echo "<th style='text-align: right;'>".$text['label-note_user']."</th>\n";
|
echo "<th style='text-align: right;'>".$text['label-note_user']."</th>\n";
|
||||||
echo "<td class='list_control_icons'>";
|
echo "<td class='list_control_icons'>";
|
||||||
if (permission_exists('contact_note_add')) {
|
if (permission_exists('contact_note_add')) {
|
||||||
echo "<a href='contact_note_edit.php?contact_uuid=".$_GET['id']."' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
echo "<a href='contact_note_edit.php?contact_uuid=".urlencode($contact_uuid)."' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||||
}
|
}
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue