Fix PHP warning

This commit is contained in:
Renato Botelho do Couto 2019-09-03 10:18:52 -03:00
parent cf019954e2
commit b94eb4b905

View File

@ -228,7 +228,7 @@ print $form;
$states = count($res);
}
for ($i = 0; $i < $states; $i++) {
for ($i = 0; $i < $states; $i++):
$info = $res[$i]['src'];
$srcip = get_ip($res[$i]['src']);
$dstip = get_ip($res[$i]['dst']);
@ -260,8 +260,8 @@ print $form;
title="<?=sprintf(gettext('Remove all state entries from %1$s to %2$s'), $srcip, $killdstip);?>"></a>
</td>
</tr>
<?
}
<?php
endfor;
?>
</tbody>
</table>