From 9abc8c751f274d1ec332bed601391c2c06897da0 Mon Sep 17 00:00:00 2001 From: frytimo Date: Mon, 10 Nov 2025 11:36:57 -0400 Subject: [PATCH] Fix invalid return point in functions.php (#7608) The return statement would cause the functions.php to return too early before all functions below could be declared. --- resources/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/functions.php b/resources/functions.php index 3be6b2de4d..25ea6ceb75 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -230,6 +230,7 @@ if (!function_exists('uuid')) { exit; } } + return ''; } } @@ -1974,7 +1975,7 @@ if (!function_exists('send_email')) { $email_error = $email->email_error; return true; } - return false; + } //encrypt a string