From 97af53b8101c04b575d7e2bbd3dc86fbee99e185 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 1 Nov 2025 21:06:23 -0600 Subject: [PATCH] Add a deprecated message to the check_str function --- resources/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/functions.php b/resources/functions.php index 1166c5aaf1..b65a8ffe28 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -83,6 +83,13 @@ if (!function_exists('check_float')) { } if (!function_exists('check_str')) { + /** + * check_str function + * @param mixed $string + * @param boolean $trim + * @return void + * @deprecated 5.0 + */ function check_str($string, $trim = true) { global $db_type, $db; //when code in db is urlencoded the ' does not need to be modified