Revision 65d6d7fc
Added by Ermal Luçi over 15 years ago
usr/local/www/wizards/openvpn_wizard.inc | ||
---|---|---|
32 | 32 |
$opts['value'] = $auth['name']; |
33 | 33 |
$fields[1]['options']['option'][] = $opts; |
34 | 34 |
} |
35 |
if ($found == true) {
|
|
35 |
if ($found == false) {
|
|
36 | 36 |
$stepid = 2; |
37 | 37 |
} |
38 | 38 |
} |
... | ... | |
80 | 80 |
$opts['value'] = $auth['name']; |
81 | 81 |
$fields[1]['options']['option'][] = $opts; |
82 | 82 |
} |
83 |
if ($found == true)
|
|
83 |
if ($found == false)
|
|
84 | 84 |
$stepid = 4; |
85 | 85 |
} |
86 | 86 |
|
Also available in: Unified diff
Correct check.