Skip to content

Commit

Permalink
Fixes PHP deprecation notice in PHP 8.1 (fixes #111)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmannherz committed Jan 18, 2023
1 parent 7b01eea commit a1bcb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Impersonate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Impersonate extends Field

public function __construct($user = null)
{
parent::__construct(null, null, null);
parent::__construct('', null, null);

$this->exceptOnForms();

Expand Down

0 comments on commit a1bcb09

Please sign in to comment.