Hi,
When you perform a query that updates a record and this remains unchanged but the query returns false could run normally without any error.
I solved it by making the condition of the if is equal to or greater than 0
if($query >=0){
return true;
}else{
return false;
}
Hi,
When you perform a query that updates a record and this remains unchanged but the query returns false could run normally without any error.
I solved it by making the condition of the if is equal to or greater than 0
if($query >=0){
return true;
}else{
return false;
}