removes a php warning
This commit is contained in:
parent
9726187f0c
commit
71493aa8d0
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user