diff options
author | Ermal <eri@pfsense.org> | 2010-03-16 13:18:45 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-16 13:18:45 +0000 |
commit | 4ef606fbb83c7394311a294e423a565a1e44a0d8 (patch) | |
tree | 7e2810cd2dfb25faf917c58472f2b4e6c687a9a5 /usr | |
parent | 63017a732e0e4f1c3459106a5ac24abfea074877 (diff) | |
download | pfsense-4ef606fbb83c7394311a294e423a565a1e44a0d8.zip pfsense-4ef606fbb83c7394311a294e423a565a1e44a0d8.tar.gz |
Resolves #401. Fix the ... display on aliases description.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_aliases.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php index de5703d..34274bc 100755 --- a/usr/local/www/firewall_aliases.php +++ b/usr/local/www/firewall_aliases.php @@ -183,9 +183,10 @@ include("head.inc"); </td> <td class="listr" ondblclick="document.location='firewall_aliases_edit.php?id=<?=$i;?>';"> <?php - $addresses = implode(", ", array_slice(explode(" ", $alias['address']), 0, 10)); + $tmpaddr = explode(" ", $alias['address']); + $addresses = implode(", ", array_slice($tmpaddr, 0, 10)); echo $addresses; - if(count($addresses) < 10) { + if(count($tmpaddr) < 10) { echo " "; } else { echo "..."; |