sruupl / batflat

Lightweight, fast and easy CMS for free. Bootstrap ready. https://batflat.org
MIT License
134 stars 54 forks source link

Error with in() / where() methods if an array of values is given #114

Closed RomainOdeval closed 3 years ago

RomainOdeval commented 3 years ago

I have some issue if i give an array of values to the "where()" method. I'm pretty sure the error is because of this strange unused line : https://github.com/sruupl/batflat/blob/9211d84406d63c575b079619137aff74b67cd344/inc/core/lib/QueryBuilder.php#L285 But i scratched my head a lot, i don't understand what code must be here to work.

Thank you for your help

RomainOdeval commented 3 years ago

Fix by #115