From 4e3769041f69c722da396155205d8f9a99d08e4e Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 21 Apr 2010 13:28:02 +0000 Subject: [PATCH] fix for size-setting/resizing of small appboxes; will now be displayed with full width, when not in company of another small-view-portal-box; half of the available width, when side by side with another small-view-portal-box. --- home/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';