diff --git a/lib/formfields/admin/customer/formfield.customer_add.php b/lib/formfields/admin/customer/formfield.customer_add.php index 550ba965..72749452 100644 --- a/lib/formfields/admin/customer/formfield.customer_add.php +++ b/lib/formfields/admin/customer/formfield.customer_add.php @@ -252,7 +252,9 @@ return array( 'backup_allowed' => array( 'label' => $lng['backup_allowed'].'?', 'type' => 'yesno', - 'yesno_var' => $backup_allowed + 'value' => 0, + 'yesno_var' => $backup_allowed, + 'visible' => ($settings['system']['backup_enabled'] == '1' ? true : false) ), 'number_of_aps_packages' => array( 'label' => $lng['aps']['numberofapspackages'], diff --git a/lib/formfields/admin/customer/formfield.customer_edit.php b/lib/formfields/admin/customer/formfield.customer_edit.php index 9faf14f1..346c397d 100644 --- a/lib/formfields/admin/customer/formfield.customer_edit.php +++ b/lib/formfields/admin/customer/formfield.customer_edit.php @@ -261,7 +261,9 @@ return array( 'backup_allowed' => array( 'label' => $lng['backup_allowed'].'?', 'type' => 'yesno', - 'yesno_var' => $backup_allowed + 'value' => 0, + 'yesno_var' => $backup_allowed, + 'visible' => ($settings['system']['backup_enabled'] == '1' ? true : false) ), 'number_of_aps_packages' => array( 'label' => $lng['aps']['numberofapspackages'],