Fix missing ikeid in created ipsec p1. Issue #13446.
When a new or duped p1 is submitted, $p1ent['ikeid'] is an empty string. Prior to php 8.0, comparing ($p1ent['ikeid'] == 0) for the empty string would yield true, allowing the code to properly create and assign a new ikeid by calling ipsec_ikeid_next(). At php 8.0 and later, this comparison result is inverted, and a new p1 is not assigned a new ikeid. This is resolved by checking if $ph1ent['ikeid'] is an empty value instead.
Fix missing ikeid in created ipsec p1. Issue #13446.
When a new or duped p1 is submitted, $p1ent['ikeid'] is an empty string. Prior
to php 8.0, comparing ($p1ent['ikeid'] == 0) for the empty string would yield
true, allowing the code to properly create and assign a new ikeid by calling
ipsec_ikeid_next(). At php 8.0 and later, this comparison result is inverted,
and a new p1 is not assigned a new ikeid. This is resolved by checking if
$ph1ent['ikeid'] is an empty value instead.