Merge pull request #2349 from chamilo/flintci-1455

Applied fixes from FlintCI
pull/2487/head
Julio Montoya 7 years ago committed by GitHub
commit d3c2beeca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      main/inc/lib/api.lib.php

@ -2559,6 +2559,7 @@ function api_get_setting($variable)
case 'stylesheets':
$variable = 'platform.theme';
// deprecated settings
// no break
case 'openid_authentication':
case 'sso_authentication':
case 'service_ppt2lp':
@ -2641,7 +2642,7 @@ function api_get_plugin_setting($plugin, $variable)
$result = Database::select(
'selected_value',
$table,
array('where' => $params),
['where' => $params],
'one'
);
if ($result) {

Loading…
Cancel
Save