pfsense/pfsense — pull request #1412 by phil-davis (2014-12-30 16:35:28+00:00)
Title: IPsec Widget allow for old settings that have no iketype

as mentioned in https://forum.pfsense.org/index.php?topic=84527.msg471919#msg471919
This change makes it work like similar if tests in /usr/local/wwwvpn_ipsec.php, and code in /etc/inc/vpn.inc that effectively defaults to ikev1 when iketype is not specified.
This should make the code here be executed and make $ikeid get the correct value to be used in later code.