summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-13 00:31:55 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-13 01:11:13 +0200
commit7938ebf6c1b302d3d1b1bfb798f1cf6f07e1e178 (patch)
tree2bea0d9124ec469ae5d2b1a741d9327ee0d9d386 /ext/json/json.c
parentf19578ad58d7ae82f16afd282e1c600927b106a2 (diff)
downloadphp-git-7938ebf6c1b302d3d1b1bfb798f1cf6f07e1e178.tar.gz
Fix #60665: call to empty() on NULL result using PDO::FETCH_LAZY returns false
The has_property handler only checked whether a respective column name exists, but neither whether the column value is set, nor whether it is empty, respectively. We fix that to match the behavior of POD:FETCH_OBJ in particular and PHP in general.
Diffstat (limited to 'ext/json/json.c')
0 files changed, 0 insertions, 0 deletions