Revision 946105f9
Added by Steve Beaver about 7 years ago
src/usr/local/www/wizards/openvpn_wizard.inc | ||
---|---|---|
178 | 178 |
function step6_stepbeforeformdisplay() { |
179 | 179 |
global $stepid, $config; |
180 | 180 |
|
181 |
if (count($config['ca']) < 1) { |
|
181 |
if (!is_array($config['ca']) || count($config['ca']) < 1) {
|
|
182 | 182 |
$stepid++; |
183 | 183 |
} |
184 | 184 |
} |
Also available in: Unified diff
PHP7 - Resolve count() warning