Hello,

I've checked Dolibarr's code and I've seen that many functions are using
integers 1 and 0 as booleans, which actually shouldn't be used because:
1. When checking for True or False, it could be a conflict between 0 and
False
2. It's not a good practice.

I think this should not be changed immediately but start migrating into it.

Regards,


*Marcos García*

[email protected]
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à