From 8b5fb2ea9f675ffecef971efff5f035cabf74110 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 25 Sep 2015 11:10:41 -0500 Subject: [PATCH] Minor - Avoid notice and change developers warning - refs CT#7769 --- main/inc/lib/display.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index 2820e5d424..be0edf6fa2 100755 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -2151,14 +2151,14 @@ class Display $html .= '
'; $html .= '
'; if ($col > 4) { - $html = ''; + $html = ''; } else { for ( $i = 0; $i < $col; $i++ ) { $html .= '
'; if ( $col == 2 && $i == 1 ) { - if($right === true){ + if ($right === true) { $html .= '
'; - $html .= $content[$i]; + $html .= (isset($content[$i])?$content[$i]:''); $html .= '
'; } else { $html .= $content[$i];