Browse Source

Update footer.php (#4655)

chansizzle 6 years ago
parent
commit
5f6fc38b9e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/footer.php

+ 2 - 2
resources/footer.php

@@ -17,7 +17,7 @@
 
 
 	The Initial Developer of the Original Code is
 	The Initial Developer of the Original Code is
 	Mark J Crane <[email protected]>
 	Mark J Crane <[email protected]>
-	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.
 	the Initial Developer. All Rights Reserved.
 
 
 	Contributor(s):
 	Contributor(s):
@@ -40,7 +40,7 @@
 	ob_end_clean(); //clean the buffer
 	ob_end_clean(); //clean the buffer
 
 
 //clear the template
 //clear the template
-	if ($_SESSION['theme']['cache']['boolean'] == "false") {
+	if (isset($_SESSION['theme']['cache']['boolean']) && $_SESSION['theme']['cache']['boolean'] == "false") {
 		$_SESSION["template_content"] = '';
 		$_SESSION["template_content"] = '';
 	}
 	}