From 76f41cbe59a28a405b4556567623410da0d38aaa Mon Sep 17 00:00:00 2001
From: Maja Wolniewicz <mgw@umk.pl>
Date: Tue, 29 Aug 2023 13:55:07 +0200
Subject: [PATCH] variable initialization
---
lib/validatorClass.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/validatorClass.php b/lib/validatorClass.php
index ca0bf42..bd5abb3 100644
--- a/lib/validatorClass.php
+++ b/lib/validatorClass.php
@@ -280,6 +280,7 @@ class Validator {
public function checkmetadata() {
$params = $this->params;
$schres = 0;
+ $certidx = -1;
if ( ($params['validate'] || $params['entities']) && ($params['url'] != "") ) {
$ret = $this->get_data();
if ($ret[0] == 304) {
--
GitLab