From 86d3f8812a72527fc357976fd441a4082abe66af Mon Sep 17 00:00:00 2001
From: Martin Fischer <martin@push-f.com>
Date: Thu, 13 Oct 2022 01:37:10 +0200
Subject: fix: undefined variable endDate

---
 Vote.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Vote.php b/Vote.php
index 1a6a8c7..0429a91 100644
--- a/Vote.php
+++ b/Vote.php
@@ -33,6 +33,7 @@ class VoteHooks {
 		};
 
 		$voteClosed = false;
+		$endDate = null;
 
 		$end = $args['end'] ?? null;
 		unset($args['end']);
-- 
cgit v1.2.3