diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 3eee7fb29..4539a001f 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1874,7 +1874,7 @@ if (typeof(document.getElementById) != 'undefined' if ($cfg['LightTabs']) { $out = ''; - if (strlen($link) > 0) { + if (!empty($link)) { $out .= '' . '' . $text . ''; } else { @@ -1885,7 +1885,7 @@ if (typeof(document.getElementById) != 'undefined' $out = "\n" . ' ' . '