andreiz / php-zookeeper

A PHP extension for interfacing with Apache ZooKeeper
Other
449 stars 215 forks source link

Fix null znode stat object #30

Closed ryanuber closed 10 years ago

ryanuber commented 10 years ago

stat object (passed by reference) is not set if the znode queried contains a NULL. This just moves the RETURN_NULL call below the point where the reference is updated. Fixes #29