modxcms / xpdo

xPDO Object Relational Bridge for PHP
http://xpdo.org/
GNU General Public License v2.0
71 stars 53 forks source link

Fix passing null to int param is deprecated #230

Closed opengeek closed 2 years ago

opengeek commented 2 years ago

Prevent "PDOStatement::fetchColumn(): Passing null to parameter #1 ($column) of type int is deprecated" warning in getValue() when not specifying a column.