--- ../iloha/IlohaMail-0.9-20050121/IlohaMail/source/main.php 2005-01-20 05:01:27.000000000 +0100 +++ main.php 2005-02-20 21:23:22.000000000 +0100 @@ -247,7 +247,7 @@ create an index array, sort, then figure out which messages to fetch */ - if ((($total_num - $num_show) > 0) || $thread_view){ + if ( ( (($total_num - $num_show) > 0) || $thread_view ) && $messages_str != ''){ //attempt ot read from cache $read_cache = false; //if (!$main_refresh_cache){ @@ -305,7 +305,7 @@ /* fetch headers */ /* put together threads */ - if ($thread_view){ + if ($thread_view && $messages_str != '' ){ echo "\n