Text message can be sent

This commit is contained in:
Pierre
2017-06-24 10:05:16 +02:00
parent 03392f65a9
commit 898cbc2e41
2 changed files with 108 additions and 3 deletions

View File

@ -93,7 +93,7 @@ function check_string_before_insert($string){
$string = str_replace(array("<", ">"), "", $string);
//Check string size
if(strlen($string)<5)
if(strlen($string)<3)
return false;
//Check if the string has at least three different characters