removed unnecessary checks in PMA_getIcon()
This commit is contained in:
@@ -84,10 +84,7 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
|
|||||||
$alternate = htmlspecialchars($alternate);
|
$alternate = htmlspecialchars($alternate);
|
||||||
$button = '';
|
$button = '';
|
||||||
|
|
||||||
if (($GLOBALS['cfg']['PropertiesIconic'] && $icon)
|
if ($GLOBALS['cfg']['PropertiesIconic']) {
|
||||||
|| ! strlen($alternate)) {
|
|
||||||
// we have valid icon and $cfg['PropertiesIconic'] is true or both
|
|
||||||
// OR $alternate is empty
|
|
||||||
$include_icon = true;
|
$include_icon = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user