浏览代码

Update user_edit.php (#3119)

AlexanderDCrane 7 年之前
父节点
当前提交
71b0646f48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/users/user_edit.php

+ 1 - 1
core/users/user_edit.php

@@ -716,7 +716,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") {
 		echo "<br />\n";
 		echo $text['description-contact']."\n";
 		if (strlen($contact_uuid) > 0) {
-			echo "			<a href=\"".PROJECT_PATH."/app/contacts/contact_edit.php?id=$contact_uuid\">".$text['description-contact_view']."</a>\n";
+			echo "			<a href=\"".PROJECT_PATH."/app/contacts/contact_edit.php?id=".escape($contact_uuid)."\">".$text['description-contact_view']."</a>\n";
 		}
 		echo "		</td>";
 		echo "	</tr>";