From 7062b64f28edd3b162974c293cd8cff839b1a579 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sat, 19 Jul 2008 18:28:16 +0000 Subject: [PATCH] Small table view fix. --- admin/inst_lang.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/inst_lang.php b/admin/inst_lang.php index cc0cc0e3..d024970f 100644 --- a/admin/inst_lang.php +++ b/admin/inst_lang.php @@ -265,8 +265,9 @@ function display_languages() $rtl = _("No"); label_cell($rtl); edit_link_cell("selected_id=" . $i); - if ($conn[$i]['code'] != $lang) - label_cell("" . _("Delete") . ""); + + label_cell($conn[$i]['code'] == $lang ? '' : + "" . _("Delete") . ""); end_row(); } -- 2.30.2