removes a php warning

This commit is contained in:
Hannes Mannerheim 2014-11-28 00:01:25 +01:00
parent 9726187f0c
commit 71493aa8d0

View File

@ -78,9 +78,14 @@ class QvitterPlugin extends Plugin {
$configphpsettings = common_config('site','qvitter') ?: array();
foreach($configphpsettings as $configphpsetting=>$value) {
$settings[$configphpsetting] = $value;
}
}
return $settings[$setting];
if(isset($settings[$setting])) {
return $settings[$setting];
}
else {
return false;
}
}