skip the 'type' if we build the settings page

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Björn Schiessle 2018-07-11 12:22:21 +02:00
parent 0aa53413a6
commit dafaf016a6
No known key found for this signature in database
GPG key ID: 2378A753E2BF04F6

View file

@ -64,7 +64,7 @@ class SettingsController extends Controller {
/* Fetch all config values for the given providerId */
$settings = [];
foreach ($params as $category => $content) {
if (empty($content) || $category === 'providers') {
if (empty($content) || $category === 'providers' || $category === 'type') {
continue;
}
foreach ($content as $setting => $details) {