From a1bcb09d9cbf8db59c3a2e931265b3cea258ff46 Mon Sep 17 00:00:00 2001 From: Todd Mannherz Date: Wed, 18 Jan 2023 13:39:23 -0500 Subject: [PATCH] Fixes PHP deprecation notice in PHP 8.1 (fixes #111) --- src/Impersonate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Impersonate.php b/src/Impersonate.php index c4cf640..cc9c8d0 100644 --- a/src/Impersonate.php +++ b/src/Impersonate.php @@ -21,7 +21,7 @@ class Impersonate extends Field public function __construct($user = null) { - parent::__construct(null, null, null); + parent::__construct('', null, null); $this->exceptOnForms();