fix preselected values in customer-edit form; adjust version checking to include '-beta' and drop long unused '-svn'

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-08-25 21:42:53 +02:00
parent 5525b927c1
commit e5620b22e0
2 changed files with 10 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ return [
'label' => lng('admin.stdsubdomain_add') . '?',
'type' => 'checkbox',
'value' => '1',
'checked' => ($result['standardsubdomain'] != '0') ? '1' : '0'
'checked' => $result['standardsubdomain']
],
'deactivated' => [
'label' => lng('admin.deactivated_user'),
@@ -266,7 +266,7 @@ return [
'mysqls' => [
'label' => lng('customer.mysqls'),
'type' => 'textul',
'value' => empty($result['mysql']) ? '0' : $result['mysqls'],
'value' => empty($result['mysqls']) ? '0' : $result['mysqls'],
'maxlength' => 9,
'mandatory' => true
],