From 1eaa0a7596b77a08be5d2fefa7ec4ab749c0f3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 16 Jun 2004 07:39:48 +0000 Subject: [PATCH] slight optimalisation --- libraries/common.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" . ' ' . '' . "\n" . ' '; - if (strlen($link) > 0) { + if (!empty($link)) { $out .= '' . $text . ''; } else {