X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fright_main.php;h=ce7d77f1c035c4e2d75ca39014ba1f56c2fa7ecf;hp=575b5f50d83898dc24c062612ec3096b7a50c326;hb=e0a6645e6b2e610bcd26c21b1fb0c79b2ceca788;hpb=9a02b0ef32c5d5369c6e0cbd1fada0e19f3d66cc diff --git a/src/right_main.php b/src/right_main.php index 575b5f50..ce7d77f1 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -67,8 +67,8 @@ if ( sqgetGlobalVar('showall', $temp, SQ_GET) ) { $showall = (int) $temp; } -if ( sqgetGlobalVar('checkall', $temp, SQ_GET) ) { - $checkall = (int) $temp; +if (!sqgetGlobalVar('checkall',$checkall,SQ_GET)) { + $checkall = false; } /* future work */ @@ -336,6 +336,7 @@ if ($aMailbox['EXISTS'] > 0) { $oTemplate->assign('alt_index_colors', isset($alt_index_colors) ? $alt_index_colors: false); $oTemplate->assign('color', $color); $oTemplate->assign('align', $align); + $oTemplate->assign('checkall', $checkall); $oTemplate->display('message_list.tpl');