From 318367bd505fd1edff4743e3468a0ac6bdd1f207 Mon Sep 17 00:00:00 2001 From: Charles T Date: Wed, 4 Oct 2023 20:49:28 +0800 Subject: [PATCH] Update (fix): missing fullstop --- app/Helpers/Global/string_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/Global/string_helper.php b/app/Helpers/Global/string_helper.php index eabcf4d..277b231 100644 --- a/app/Helpers/Global/string_helper.php +++ b/app/Helpers/Global/string_helper.php @@ -17,7 +17,7 @@ function str_first_sentence($str) // Return the first part of the array if available if (isset($sentences[0])) { - return trim($sentences[0]); + return trim($sentences[0]) . "."; } // If no sentence ending found, return the whole string