mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add a deprecated message to the check_str function
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user