diff --git a/home/index.php b/home/index.php index 5dff06278c..2759e9f6da 100755 --- a/home/index.php +++ b/home/index.php @@ -239,7 +239,7 @@ $tropen=1; } - $small = ($thisd>1) && (count($neworder) > $index + 1) && ($searchlist[$neworder[$index + 1]] > 1); + $small = ($thisd>1) && (count($neworder) >= $index + 1) && ($searchlist[$neworder[$index + 1]] > 1 || $searchlist[$neworder[$index - 1]] > 1); $var['tdwidth'] = $small ? '50' : '100'; $var['colspan'] = $small ? '1' : '2';