From 504150a4915d12f8ea4704573bdff69c11c0966c Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Thu, 11 Oct 2007 09:11:22 +0000 Subject: [PATCH] removed unnecessary checks in PMA_getIcon() --- libraries/common.lib.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 67078f577..e739eabab 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -84,10 +84,7 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f $alternate = htmlspecialchars($alternate); $button = ''; - if (($GLOBALS['cfg']['PropertiesIconic'] && $icon) - || ! strlen($alternate)) { - // we have valid icon and $cfg['PropertiesIconic'] is true or both - // OR $alternate is empty + if ($GLOBALS['cfg']['PropertiesIconic']) { $include_icon = true; }