X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_header.php;h=fd43a16af92ebd5ad165e1af049ef2c674dba0e8;hb=1e532e26cb164aba478840773ca0b68ebb92a148;hp=0e0b2e218901a711b90ab472364ab7017f44bbf9;hpb=ebd2391cb0c5e3049870f90fa8a8b28707e9571a;p=squirrelmail.git diff --git a/src/view_header.php b/src/view_header.php index 0e0b2e21..fd43a16a 100644 --- a/src/view_header.php +++ b/src/view_header.php @@ -5,7 +5,7 @@ * * This is the code to view the message header. * - * @copyright © 1999-2007 The SquirrelMail Project Team + * @copyright © 1999-2009 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -83,9 +83,7 @@ function parse_viewheader($imapConnection,$id, $passed_ent_id) { } /* get global vars */ -if ( sqgetGlobalVar('passed_id', $temp, SQ_GET) ) { - $passed_id = (int) $temp; -} +sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT); if ( sqgetGlobalVar('mailbox', $temp, SQ_GET) ) { $mailbox = $temp; }