Footer - Updates for PHP 8.1

This commit is contained in:
fusionate
2023-05-16 18:39:29 +00:00
parent 47e0347195
commit 8482b6eb46

View File

@@ -39,7 +39,7 @@
if (!isset($_SESSION["username"])) { $_SESSION["username"] = null; }
//get the output from the buffer
$body = $content_from_db.ob_get_contents();
$body = ($content_from_db ?? '').ob_get_contents();
ob_end_clean(); //clean the buffer
//clear the template