Skip to content

Commit

Permalink
Fixed sess_id cookie handling on index page.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Feb 7, 2024
1 parent aa26d34 commit 1d1294e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

$view = "home";
$title = "QLBase | Home";
$sess_id = $_COOKIE["sess_id"];
$sess_id = isset($_COOKIE["sess_id"]) ? $_COOKIE["sess_id"] : "";

function getPage($viewName, $pageTitle) {
global $view;
Expand Down

0 comments on commit 1d1294e

Please sign in to comment.