tep_not_null update using get_object_vars
tep_not_null update using get_object_vars

When $value is an object then we have to check if it has object vars because according to PHP manual "Objects with no properties are no longer considered empty."  http://us1.php.net/manual/en/function.empty.php

So is_null($value) when $value is an object it always return false. So the appropriate way to check is using get_object_vars which will return newProp, but the protected and private members will not be returned.
ruden/oscommerce2,osCommerce/oscommerce2,ruden/oscommerce2,haraldpdl/oscommerce2,osc2nuke/oscommerce2,haraldpdl/oscommerce2,scottcwilson/oscommerce2,osCommerce/oscommerce2,osc2nuke/oscommerce2,scottcwilson/oscommerce2