settings/get: fix information disclosure
This commit is contained in:
parent
51ee723dcb
commit
c715dadb11
@ -57,7 +57,7 @@ namespace Core\API\Settings {
|
||||
$key = $this->getParam("key");
|
||||
$sql = $this->context->getSQL();
|
||||
|
||||
$settings = Settings::getAll($sql, $key);
|
||||
$settings = Settings::getAll($sql, $key, $this->isExternalCall());
|
||||
if ($settings !== null) {
|
||||
$this->result["settings"] = $settings;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user