mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Footer - Updates for PHP 8.1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user