From 65d6d7fc2ec11d7923c116c19c6472d7d4a9bf04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Thu, 11 Mar 2010 16:56:26 +0000 Subject: Correct check. --- usr/local/www/wizards/openvpn_wizard.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www/wizards') diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc index 680e3ce..7bde7a1 100644 --- a/usr/local/www/wizards/openvpn_wizard.inc +++ b/usr/local/www/wizards/openvpn_wizard.inc @@ -32,7 +32,7 @@ function step2_stepbeforeformdisplay() { $opts['value'] = $auth['name']; $fields[1]['options']['option'][] = $opts; } - if ($found == true) { + if ($found == false) { $stepid = 2; } } @@ -80,7 +80,7 @@ function step4_stepbeforeformdisplay() { $opts['value'] = $auth['name']; $fields[1]['options']['option'][] = $opts; } - if ($found == true) + if ($found == false) $stepid = 4; } -- cgit v1.1