From 59f80f04e48fcee95f7e41daa2ebc6b61fa38542 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Tue, 17 Jun 2014 18:51:32 +0000 Subject: [PATCH] Retains bottom border on table cell(s) if content is empty. --- app/dialplan/dialplans.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dialplan/dialplans.php b/app/dialplan/dialplans.php index f88bd054bc..b9b5142de8 100644 --- a/app/dialplan/dialplans.php +++ b/app/dialplan/dialplans.php @@ -256,11 +256,11 @@ else { } echo "\n"; echo " ".$row['dialplan_name']."\n"; - echo " ".$row['dialplan_number']."\n"; + echo " ".((strlen($row['dialplan_number']) > 0) ? $row['dialplan_number'] : " ")."\n"; echo " ".$row['dialplan_context']."\n"; echo " ".$row['dialplan_order']."\n"; echo " ".$row['dialplan_enabled']."\n"; - echo " ".$row['dialplan_description']." \n"; + echo " ".((strlen($row['dialplan_description']) > 0) ? $row['dialplan_description'] : " ")."\n"; echo " \n"; if ($app_uuid == "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4") { if (permission_exists('inbound_route_edit')) {