From 83affcd4b2ecdc0383da0980c261c58380593dbe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 22 Nov 2018 16:19:41 +0300 Subject: [PATCH] Mailer->error: no argument --- classes/mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/mailer.php b/classes/mailer.php index ae22776d..f5a03860 100644 --- a/classes/mailer.php +++ b/classes/mailer.php @@ -37,7 +37,7 @@ class Mailer { $this->last_error = $message; } - function error($value) { + function error() { return $this->last_error; } } -- 2.39.5