Fix umlauts in settings browser title

This commit is contained in:
johnnyq 2024-04-10 15:05:37 -04:00
parent b9342c8397
commit ccab5f9a00
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,7 @@ if (isset($_GET['client_id'])) {
$row = mysqli_fetch_array($sql);
$client_name = nullable_htmlentities($row['client_name']);
$client_name_title = $row['client_name'];
$client_is_lead = intval($row['client_lead']);
$client_type = nullable_htmlentities($row['client_type']);
$client_website = nullable_htmlentities($row['client_website']);
@ -242,4 +243,5 @@ require_once "pagination_head.php";
?>
<script>document.title = "<?php echo $client_name; ?>"</script>
<!-- Set the browser window title to the clients name -->
<script>document.title = "<?php echo $client_name_title; ?>"</script>