Add a deprecated message to the check_str function

This commit is contained in:
markjcrane
2025-11-01 21:06:23 -06:00
parent 846b283fa5
commit 97af53b810

View File

@@ -83,6 +83,13 @@ if (!function_exists('check_float')) {
} }
if (!function_exists('check_str')) { 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) { function check_str($string, $trim = true) {
global $db_type, $db; global $db_type, $db;
//when code in db is urlencoded the ' does not need to be modified //when code in db is urlencoded the ' does not need to be modified