diff options
Diffstat (limited to 'engine/classes/ElggWidget.php')
| -rw-r--r-- | engine/classes/ElggWidget.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggWidget.php b/engine/classes/ElggWidget.php index 60f2b6be4..913dfc2ba 100644 --- a/engine/classes/ElggWidget.php +++ b/engine/classes/ElggWidget.php @@ -30,7 +30,7 @@ class ElggWidget extends ElggObject {  	 */  	public function get($name) {  		// See if its in our base attribute -		if (isset($this->attributes[$name])) { +		if (array_key_exists($name, $this->attributes)) {  			return $this->attributes[$name];  		}  | 
