[geeklog-cvs] geeklog: Fixed E_ALL error in case the description isn't set

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 19 14:50:19 EDT 2011


changeset 8186:2dccdef7d704
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/2dccdef7d704
user: Dirk Haun <dirk at haun-online.de>
date: Sat Mar 19 19:50:12 2011 +0100
description:
Fixed E_ALL error in case the description isn't set

diffstat:

 public_html/lib-common.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e44865a6d5ad -r 2dccdef7d704 public_html/lib-common.php
--- a/public_html/lib-common.php	Sat Mar 19 19:39:45 2011 +0100
+++ b/public_html/lib-common.php	Sat Mar 19 19:50:12 2011 +0100
@@ -3976,7 +3976,7 @@
         if ($done_once) { 
             $comma = ', ';
         }
-        if ($description[$tag] != '') {
+        if (! empty($description[$tag])) {
            $retval .= $comma . COM_Tooltip('[' . $tag . ':]', $description[$tag], '', $LANG01[132],'information');
         } else {
             $retval .= $comma . '[' . $tag . ':]';



More information about the geeklog-cvs mailing list