Fixed SQL Injection detection

This commit is contained in:
Luca 2019-11-13 17:37:48 +01:00
parent 7e87bfd039
commit 470d30ac23

View file

@ -1148,7 +1148,7 @@ static int find_occurrency(char *str, char *what) {
len = strlen(what);
if((found[len] != '\0') && (found[len] != ' ')
if(((found[len] != '\0') || (found[len] != ' '))
&& ((found == str) || (found[-1] == ' ')))
return(1);
else