Update footer.php (#4655)

This commit is contained in:
chansizzle 2019-09-24 18:43:23 -06:00 committed by FusionPBX
parent 7c3675107d
commit 592c34366e
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2016
Portions created by the Initial Developer are Copyright (C) 2008-2019
the Initial Developer. All Rights Reserved.
Contributor(s):
@ -40,7 +40,7 @@
ob_end_clean(); //clean the buffer
//clear the template
if ($_SESSION['theme']['cache']['boolean'] == "false") {
if (isset($_SESSION['theme']['cache']['boolean']) && $_SESSION['theme']['cache']['boolean'] == "false") {
$_SESSION["template_content"] = '';
}