diff --git a/includes/FeedsConfigurable.inc b/includes/FeedsConfigurable.inc index 0b9b620bfca0c3b89bd9a6917a758d465daeb719..2c170c75e339ec1088e60f52807010792d1bc8a2 100644 --- a/includes/FeedsConfigurable.inc +++ b/includes/FeedsConfigurable.inc @@ -75,6 +75,13 @@ abstract class FeedsConfigurable { $this->disabled = FALSE; } + /** + * Override magic method __isset(). This is needed due to overriding __get(). + */ + public function __isset($name) { + return isset($this->$name) ? TRUE : FALSE; + } + /** * Determine whether this object is persistent and enabled. I. e. it is * defined either in code or in the database and it is enabled. @@ -129,8 +136,8 @@ abstract class FeedsConfigurable { } /** - * Override magic method __get(). Make sure that $this->config goes - * through getConfig() + * Override magic method __get(). Make sure that $this->config goes through + * getConfig(). */ public function __get($name) { if ($name == 'config') {