From 1ee375c74296b25fe794bc4fdbde023fda147126 Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Thu, 1 Oct 2020 16:02:36 +0200 Subject: [PATCH] Fix #3926 @0.5 --- wp-content/mu-plugins/cube/src/Forms/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/mu-plugins/cube/src/Forms/Base.php b/wp-content/mu-plugins/cube/src/Forms/Base.php index ed4fb43..0082c83 100644 --- a/wp-content/mu-plugins/cube/src/Forms/Base.php +++ b/wp-content/mu-plugins/cube/src/Forms/Base.php @@ -171,7 +171,7 @@ class Base // Temporarily hook directly into PHPMailer so we can attach files AND set their names // Ref: https://stackoverflow.com/a/57778561 - public function attach_files(\PHPMailer $PHPMailer) { + public function attach_files($PHPMailer) { $files = $this->normalise_files($_FILES); -- 2.39.5