Always send something, even if its empty to our checks.
jdarwood007

jdarwood007 commited on 2024-02-17 07:41:16
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -454,7 +454,7 @@ class SFS
454 454
 		$result = true;
455 455
 
456 456
 		foreach ($requiredChecks as $key) {
457
-			$test = call_user_func([$this, 'sfsCheck_' . $key], $response[$key], $area);
457
+			$test = call_user_func([$this, 'sfsCheck_' . $key], $response[$key] ?? [], $area);
458 458
 			$requestBlocked .= !empty($test) ? $test . '|' : '';
459 459
 			$result &= !empty($test);
460 460
 		}
461 461