mardi 14 février 2017

Unexpected Case Sensitive Issue Laravel

i am working on a Laravel project and started receiving some unexpected issues.

I am running a script through cron job, and there is an If condition in the script:

if($bride->photographer == 'yes'){
    // Code goes here
}

the problem is...
till yesterday everything was working fine, but from today it stopped working, when i started debugging then i came to know that it is not working for the values = "Yes", means which starts with capital Y, that means now it has started behaving as Case Sensitive.

But i am wondering what has been changed in one day. If it is not working now then why was it working before?

May be there is something which i am not aware of, please let me know what's wrong with that.

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire