diff --git a/src/Row.php b/src/Row.php index dcf79a8..bdc641d 100644 --- a/src/Row.php +++ b/src/Row.php @@ -69,7 +69,9 @@ public function __set($name, $value) */ public function __isset($name) { - return isset($this->values[$name]) && !($this->values[$name] instanceof NullValue); + $value = static::__get($name); + + return isset($value) && !($value instanceof NullValue); } /** @@ -158,7 +160,7 @@ public function get($name = null) } /** - * Return whether a value is defined or not. + * Return whether a value is already defined or not. * * @param string $name *