From bb7689be93f7cdc93384497fef0f10f21a0c156b Mon Sep 17 00:00:00 2001 From: ltning Date: Wed, 28 Jan 2026 02:44:01 +0000 Subject: [PATCH] Return boolean instead of nonexistent array --- include/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/account.php b/include/account.php index de4c93366..fe52c338c 100644 --- a/include/account.php +++ b/include/account.php @@ -332,7 +332,7 @@ function send_reg_confirmation_email_from_register(int $reg_id): bool { if (empty($register)) { logger('send_reg_confirmation_email_from_register: could not find email address for for reg_id ' . $reg_id); - return $result; + return false; } else { logger('send_reg_confirmation_email_from_register: sending confirmation email to ' . $register[0]['reg_email']); }