Initialize $a_pools to fix warnings when saving dhcp settings whith no extra pools

This commit is contained in:
Renato Botelho 2013-01-29 16:06:05 -02:00
parent 49b76122af
commit cc6052f00d

View File

@ -128,6 +128,7 @@ $act = $_GET['act'];
if (!empty($_POST['act']))
$act = $_POST['act'];
$a_pools = array();
if (is_array($config['dhcpd'][$if])){
$pool = $_GET['pool'];