Browse code

deprecated PHP 8.1. fix - conversion to array

Jimako authored on 2024/05/08 05:31:37
Showing 1 changed files
... ...
@@ -132,7 +132,7 @@ if(isset($_SERVER['PHP_SELF'])) $_SERVER['PHP_SELF'] = htmlspecialchars(descript
132 132
 if(isset($PHP_SELF)) $PHP_SELF = htmlspecialchars(descript($PHP_SELF), ENT_QUOTES);
133 133
 
134 134
 // Set these variables to start.
135
-$agecontsent = false; $viewed = false; 
135
+$agecontsent = false; $viewed = array(); 
136 136
 
137 137
 require_once("includes/get_session_vars.php");
138 138