Fix var name in client edit post

This commit is contained in:
johnnyq
2024-11-17 14:59:54 -05:00
parent 9c24a780be
commit acec430e28
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ if (isset($_POST['edit_client'])) {
// Logging
logAction("Client", "Edit", "$session_name edited client $name", $client_id, $client_id);
$_SESSION['alert_message'] = "Client <strong>$client_name</strong> updated";
$_SESSION['alert_message'] = "Client <strong>$name</strong> updated";
header("Location: " . $_SERVER["HTTP_REFERER"]);
}