Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 21:22:41 +02:00
parent b4cbe5a52c
commit 594d1724ca

View File

@@ -208,7 +208,7 @@ if(isset($_GET["add_message"])){
$date=$list["sent"]; $date=$list["sent"];
$sql="SELECT username FROM users WHERE id=?"; $sql="SELECT username FROM users WHERE id=?";
$stmt2 = $conn->prepare($sql); $stmt2 = $conn->prepare($sql);
$stmt2->bind_param("i", $entry["done_by"]); $stmt2->bind_param("i", $list["from_userid"]);
$stmt2->execute(); $stmt2->execute();
$result_lists2 = $stmt2->get_result(); $result_lists2 = $stmt2->get_result();
$user = $result_lists2->fetch_assoc(); $user = $result_lists2->fetch_assoc();