From b92ed17f17c1efdc3f414bdd06a0d0519c93d5ab Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Mon, 15 Feb 2021 13:53:37 -0600 Subject: [PATCH] Fix app_config typo for recordings. storage_type was never initialized as a setting in the database due to the y counter being reset to 0 after it. This was causing the storage_type setting to not show up in the UI. --- app/recordings/app_config.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/recordings/app_config.php b/app/recordings/app_config.php index 5afbe54381..81ebbcfbab 100644 --- a/app/recordings/app_config.php +++ b/app/recordings/app_config.php @@ -92,8 +92,7 @@ $apps[$x]['default_settings'][$y]['default_setting_value'] = "base64"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; - - $y=0; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "960828e1-8d6b-4381-86c4-fa03fce4276a"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "recordings"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "recording_max_length";